Part Number Hot Search : 
KTC4372 2SD159 RC0031E A3143 0150CT PN8952 100LV SA154
Product Description
Full Text Search
 

To Download AD9984KSTZ-140 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  high performance 10-bit display interface preliminary technical data ad9984 rev. prb information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent ri ghts of analog devices. trademarks and registered trademarks are the prop erty of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.326.8703 ? 2005 analog devices, inc. all rights reserved. features 10-bit analog-to-digital converters 170 msps maximum conversion rate low pll clock jitter at 170 msps automatic gain matching automated offset adjustment 2:1 input mux power-down via dedicated pin or serial register 4:4:4, 4:2:2, and ddr output format modes variable output drive strength odd/even field detection external clock input regenerated hsync output programmable output high impedance control hsyncs per vsyncs counter pb-free package applications advanced tvs plasma display panels lcdtv hdtv rgb graphics processing lcd monitors and projectors scan converters functional block diagram 2:1 mux 10-bit adc clamp auto clamp level adjust sync processing pll power management voltage refs serial register pr/red in 1 10 pr/red in 0 y/green in 1 10 y/green in 0 y/green out pb/blue in 1 10 pb/blue in 0 cb/blue out 10 10-bit adc pga clamp auto clamp level adjust 10 10-bit adc pga clamp auto clamp level adjust 10 hsync 1 hsync 0 vsync 1 vsync 0 sogin 1 sogin 0 2:1 mux 2:1 mux 2:1 mux 2:1 mux 2:1 mux sda scl refhi reflo extclk/coast clamp filt datack sogout 2:1 mux 10-bit adc pga clamp auto offset sync processing pll power management voltage refs serial register pr/red in 1 10 pr/red in 0 y/green in 1 10 y/green in 0 y/green out pb/blue in 1 10 pb/blue in 0 cb/blue out 10 10-bit adc pga clamp auto offset 10 10-bit adc clamp auto offset 10 hsync 1 hsync 0 vsync 1 vsync 0 sogin 1 sogin 0 2:1 mux 2:1 mux 2:1 mux 2:1 mux 2:1 mux sda scl refhi reflo extclk/coast clamp filt datack sogout hsout cb/cr/ red out o/e field vsout/a0 auto gain auto gain auto gain output data formatter output data formatter figure 1. general description the ad9984 is a complete 10-bit 170 msps monolithic analog interface optimized for capturing ypbpr video and rgb graphics signals. its 170 msps encode rate capability and full- power analog bandwidth of 300 mhz support all hdtv video modes up to 1080p as well as graphics resolutions up to uxga (1600 x 1200 at 60 hz). the ad9984 includes a 170mhz triple adc with an internal reference, a pll, and programmable gain, offset, and clamp control. the user provides only a +1.8v power supply and an analog input. three-state cmos outputs may be powered from 1.8v to 3.3v. the ad9984s on-chip pll generates a sample clock from the tri-level sync (for ypbpr video) or the horizontal sync (for rgb graphics). sample clock output frequencies range from 10 to 170 mhz. with internal coast generation, the pll maintains its output frequency in the absence of sync input. a 32-step sampling clock phase adjustment is provided. output data, sync, and clock phase relationships are maintained. the auto offset feature can be enabled to automatically restore the signal reference levels and to automatically calibrate out any offset differences between the three channels. the auto channel-to-channel gain matching feature can be enabled to minimize any gain mismatches between the three channels. the ad9984 also offers full sync processing for composite sync and sync-on-green applications. a clamp signal is generated internally or may be provided by the user through the clamp input pin. fabricated in an advanced cmos process, the ad9984 is provided in a space-saving 80-pin pb- free lqfp surface mount plastic package and is specified over the 0c to +70c temperature range.
ad9984 preliminary technical data rev. prb | page 2 of 45 table of contents analog interface specifications ...................................................... 2 absolute maximum ratings............................................................ 4 explanation of test levels ........................................................... 5 esd caution.................................................................................. 5 pin configuration and function descriptions............................. 6 design guide................................................................................... 11 general description................................................................... 11 digital inputs .............................................................................. 11 input signal handling................................................................ 11 hsync and vsync inputs............................................................ 11 serial control port ..................................................................... 11 output signal handling............................................................. 11 clamping ..................................................................................... 11 gain and offset control............................................................ 12 timing diagrams........................................................................ 21 hsync timing ............................................................................. 22 coast timing............................................................................... 22 output formatter ....................................................................... 22 two-wire serial register map...................................................... 24 detailed 2-wire serial control register descriptions .............. 30 chip identification ..................................................................... 30 pll divider control .................................................................. 30 clock generator control .......................................................... 30 phase adjust................................................................................ 31 input gain ................................................................................... 31 input offset ................................................................................. 31 hsync controls ........................................................................... 32 vsync controls ........................................................................... 32 coast and clamp controls........................................................ 33 sog control ............................................................................... 35 input and power control........................................................... 35 output control ........................................................................... 36 two-wire serial control port....................................................... 41 data transfer via serial interface............................................. 41 pcb layout recommendations ............................................... 43 pll ............................................................................................... 43 outline dimensions ....................................................................... 45 ordering guide .......................................................................... 45 revision history 11/05preliminary version: revision pra 01/06preliminary version: revision prb
preliminary technical data ad9984 rev. prb | page 3 of 45 analog interface specifications v d = 1.8 v, v dd = 3.3 v, pv d = 1.8 v, dav dd = 1.8 v, adc clock = maximum conversion rate , full temperature range = 0c to 70c. table 1. electrical characteristics test ad9984kstz-110 AD9984KSTZ-140 ad9984kstz-170 parameter temp level min typical max min typical max min typical max units resolution number of bits lsb size 10 0.098 10 0.098 10 0.098 bits % of full scale dc accuracy differential nonlinearity +25c full i vi +/-0.6 tbd tbd +/-0.8 tbd tbd +/-1.0 1 tbd tbd lsb lsb integral nonlinearity +25c full i vi +/-0.7 tbd tbd +/-1.0 tbd tbd +/-1.25 tbd tbd lsb lsb no missing codes full vi gnt gnt gnt analog input input voltage range minimum full vi 0.5 0.5 0.5 v pCp maximum full vi 1.0 1.0 1.0 v pCp gain tempco +25c v 125 125 125 ppm/c input bias current +25c full iv iv 1 1 1 1 1 1 a a input full-scale matching full vi 1 tbd 1 tbd 1 tbd % fs offset adjustment range full vi 50 50 50 % fs switching performance maximum conversion rate full vi 110 140 170 msps minimum conversion rate full iv 10 10 10 msps clock to data skew t skew full iv -0.5 +2.0 -0.5 +2.0 -0.5 +2.0 ns t buff full vi 4.7 4.7 4.7 us t stah full vi 4.0 4.0 4.0 us t dho full vi 0 0 0 us t dal full vi 4.7 4.7 4.7 us t dah full vi 4.0 4.0 4.0 us t dsu full vi 250 250 250 ns t stasu full vi 4.7 4.7 4.7 us t stosu full vi 4.0 4.0 4.0 us maximum pll clock rate full vi 110 140 170 mhz minimum pll clock rate full iv 10 10 10 mhz sampling phase tempco full iv 15 15 15 ps/c digital inputs 2 input voltage, high (v ih ) full vi 1.0 1.0 1.0 v input voltage, low (v il ) full vi 0.8 0.8 0.8 v input current, high (i ih ) full v -1.0 -1.0 -1.0 ua input current, low (i il ) full v 1.0 1.0 1.0 ua input capacitance +25 c v 2 2 2 pf digital outputs output voltage, high (v oh ) full vi v dd - 0.1 v dd - 0.1 v dd - 0.1 v output voltage, low (v ol ) full vi 0.1 0.1 0.1 v duty cycle, datack full iv 45 50 55 45 50 55 45 50 55 % output coding binary binary binary power supply v d supply voltage full iv 1.7 1.8 1.9 1.7 1.8 1.9 1.755 1.8 1.9 v v dd supply voltage full iv 1.7 3.3 3.47 1.7 3.3 3.47 1.7 3.3 3.47 v p vd supply voltage full iv 1.7 1.8 1.9 1.7 1.8 1.9 1.7 1.8 1.9 v da vdd supply voltage full iv 1.7 1.8 1.9 1.7 1.8 1.9 1.7 1.8 1.9 v i d supply current (v d ) +25 c v ma
ad9984 preliminary technical data rev. prb | page 4 of 45 test ad9984kstz-110 AD9984KSTZ-140 ad9984kstz-170 parameter temp level min typical max min typical max min typical max units i dd supply current (v dd ) 1 +25 c v ma ip vd supply current (p vd ) +25 c v ma ida vdd supply current (da vdd ) +25 c v ma total power dissipation full vi mw power-down supply current full vi ma power-down dissipation full vi mw dynamic performance analog bandwidth, full power +25c v 300 300 300 mhz crosstalk full v 60 60 60 dbc thermal characteristics 0 jc -junction-to-case thermal resistance v 16 16 16 c/w 0 ja -junction-to-ambient thermal resistance v 35 35 35 c/w 1 note about linearity at 170msps
preliminary technical data ad9984 rev. prb | page 5 of 45 absolute maximum ratings table 2. parameter rating v d 1.98 v v dd 3.6 v pv d 1.98 v dav dd 1.98 v analog inputs v d to 0.0 v refhi v d to 0.0 v reflo v d to 0.0 v digital inputs 5 v to 0.0 v digital output current 20 ma operating temperature ?25c to + 85c storage temperature ?65c to + 150c maximum junction temperature 150c maximum case temperature 150c stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any other conditions outside of those indicated in the operation sections of this specification is not implied. exposure to absolute maximum ratings for extended periods may affect device reliability. explanation of test levels test level i. 100% production tested. ii. 100% production tested at 25c and sample tested at specified temperatures. iii. sample tested only. iv. parameter is guaranteed by design and characterization testing. v. parameter is a typical value only. vi. 100% production tested at 25c; guaranteed by design and characterization testing. esd caution esd (electrostatic discharge) sensitive device. electros tatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge wi thout detection. although this product features proprietary esd protection circuitry, permanent dama ge may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality.
ad9984 preliminary technical data rev. prb | page 6 of 45 pin configuration and fu nction descriptions 0 4 7 3 9 - 0 0 2 2 b ain0 3 gnd 4 b ain1 7 gnd 6 g ain0 5 v d (1.8v) 1 v d (1.8v) 8 sogin0 9 v d (1.8v) 10 g ain1 12 sogin1 13 v d (1.8v) 14 r ain0 15 gnd 16 r ain1 17 pwrdn/tri-st 18 reflo 19 nc 20 refhi 11 gnd 59 58 57 54 55 56 60 53 52 blue <4> blue <5> blue <6> blue <9> blue <8> blue <7> blue <3> gnd v dd (3.3v) 51 green <0> 49 green <2> 48 green <3> 47 green <4> 46 green <5> 45 green <6> 44 green <7> 43 green <8> 42 green <9> 41 dav dd (1.8) 50 green <1> 21 o / e f i e l d 22 vs o u t / a 0 23 h s o u t 24 s ogo u t 25 da t ack 26 v dd ( 3 . 3 v ) 27 g nd 28 r e d <9> 29 r e d < 8 > 30 r e d < 7 > 31 r e d < 6 > 32 r e d <5> 33 r e d < 4 > 34 r e d < 3 > 35 r e d < 2 > 36 r e d < 1 > 37 r e d < 0 > 38 v dd ( 3 . 3 v ) 39 g nd 40 g nd 80 g nd 79 p v d ( 1 . 8 v ) 78 f i lt 77 g nd 76 p v d ( 1 . 8 v ) 75 g nd 74 p v d ( 1 . 8 v ) 73 c l a m p 72 ex t c l k / c o a s t 71 vsy nc 0 70 h sy nc 0 69 vsy nc 1 68 h sy nc 1 67 s c l 66 s da 65 g nd 64 v dd ( 3 . 3 v ) 63 b l u e < 0 > 62 b l u e < 1 > 61 b l u e < 2 > pin 1 ad9984 top view (not to scale) figure 2. top view (pins down) table 3. complete pinout list pin type mnemonic function value pin no. inputs r ain0 channel 0 analog input for converter r 0.0 v to 1.0 v 14 r ain1 channel 1 analog input for converter r 0.0 v to 1.0 v 16 g ain0 channel 0 analog input for converter g 0.0 v to 1.0 v 6 g ain1 channel 1 analog input for converter g 0.0 v to 1.0 v 10 b ain0 channel 0 analog input for converter b 0.0 v to 1.0 v 2 b ain1 channel 1 analog input for converter b 0.0 v to 1.0 v 4 hsync0 horizontal sync input for channel 0 3.3 v cmos 70 hsync1 horizontal sync input for channel 1 3.3 v cmos 68 vsync0 vertical sync input for channel 0 3.3 v cmos 71 vsync1 vertical sync input for channel 1 3.3 v cmos 69 sogin0 input for sync-on-green channel 0 0.0 v to 1.0 v 8 sogin1 input for sync-on-green channel 1 0.0 v to 1.0 v 12 extck external clock input 3.3 v cmos 72 1 clamp external clamp in put signal 3.3 v cmos 73 coast external pll coast si gnal input 3.3 v cmos 72 1 pwrdn power-down control 3.3 v cmos 17 outputs red [9:0] outputs of converter r, bit 9 is the msb 3.3 v cmos 28C37 green [9:0] outputs of converter g, bit 9 is the msb 3.3 v cmos 42C51 blue [9:0] outputs of converter b, bit 9 is the msb 3.3 v cmos 54C63 datack data output clock 3.3 v cmos 25
preliminary technical data ad9984 rev. prb | page 7 of 45 pin type mnemonic function value pin no. hsout hsync output clock (phase-ali gned with datack) 3.3 v cmos 23 vsout vsync output clock 3.3 v cmos 22 2 sogout sync-on-green slicer output 3.3 v cmos 24 o/e field odd/even fi eld output 3.3v cmos 21 references filt connection for external filter components for internal pll 78 reflo connection for external ca pacitor for input amplifier 18 refhi connection for external ca pacitor for input amplifier 20 power supply v d analog power supply 1.8 v 1, 5, 9, 13 v dd output power supply 1.8 v or 3.3 v 26, 38, 52, 64 pv d pll power supply 1.8 v 74, 76, 79 dav dd digital logic power supply 1.8 v 41 gnd ground 0 v control sda serial port data i/o 3.3 v cmos 3 66 scl serial port data clock (100 khz maximum) 3.3 v cmos 3 67 a0 serial port address input 3.3 v cmos 22 2 1 extclk and coast share the same pin. 2 vsout and a0 share the same pin. 3 sda and scl should be isolated with a fet. see i2c bus hardware considerations in two-wire serial control port section.
ad9984 preliminary technical data rev. prb | page 8 of 45 table 4.pin function descriptions pin description inputs rain0 analog input for the red channel 0. gain0 analog input for the green channel 0. bain0 analog input for the blue channel 0. rain1 analog input for the red channel 1. gain1 analog input for the green channel 1. bain1 analog input for the blue channel 1. high impedance inputs that accept th e red, green, and blue channel graphics signals, respectively. the three channels are identical and can be used for any colors, b ut colors are assigned for convenient reference. they accommodate input signals ranging from 0.5 v to 1.0 v full scale. signals should be ac-coupled to these pins to support clamp operation. hsync0 horizontal sync input channel 0. hsync1 horizontal sync input channel 1. these inputs receive a logic signal that establishes th e horizontal timing reference and provides the frequency reference for pixel clock generation. the logic sense of th is pin can be automatically determined by the chip or manually controlled by serial register 0x12, bits [5:4] (hsync polarity). only the leading ed ge of hsync is used by the pll; the trailing edge is used in clamp timing. when hsync polarity = 0, the falli ng edge of hsync is used. when hsync polarity = 1 , the rising edge is active. the in put includes a schmitt trigger for noise immunity. vsync0 vertical sync input channel 0. vsync1 vertical sync input channel 1. these are the inputs for vertical sync and provide timin g information for generation of the field (odd/even) and internal coast generation. the logic se nse of this pin can be automatically determined by the chip or manually controlled by serial register 0x 14, bits [5:4] (vsync polarity). sogin0 sync-on-green input channel 0. sogin1 sync-on-green input channel 1. these inputs are provided to assist with processing signals with embedded sync, typically on the green channel. the pin is connected to a high speed comparator with an in ternally generated threshold. the threshold level can be programmed in 8 mv steps to any voltage between 8 mv and 256 mv above the negative peak of the input signal. the default voltage threshold is 128 mv. when connected to an ac coupled grap hics signal with embedded sync, it produces a noninverting digital output on sogout. this is usually a composite sync signal, containing both vertical and horizontal sync information that must be separated before passing the horizontal sync signal for hsync processing. when not used, this input should be left unconnected. for more details on this function and how it should be configured, refer to the sync-on-green section. clamp external clamp input (optional). this logic input may be used to define the time during which the input si gnal is clamped to ground or midscale. it should be exercised when the reference dc level is know n to be present on the analog input channels, typically during the back porch of the graphics si gnal. the clamp pin is enabled by setting the control bit clamp function to 1, (register 0x18, bit 4; default is 0). when disabled, this pin is ignored and the cl amp timing is determined internally by counting a delay and duration from the trailing edge of the hsync input. the logic sense of this pin can be auto- matically determined by the chip or controlled by clamp polari ty register 0x1b, bits [7:6]. when not used, this pin may be left unconnected (there is an internal pull-down resistor) and the clamp function programmed to 0. extclk/coast coast input to clock ge nerator (optional). this input may be used to ca use the pixel clock generator to stop synchron izing with hsync and continue producing a clock at its current frequency and phase. this is useful wh en processing signals from sources that fail to produce hsync pulses during the vertical interval. the coast signal is generally not required for pc-generated signals. the logic sense of this pin can be determined auto matically or controlled by coast polari ty (register 0x18, bits [7:6]). when not used and extclk not used, this pin may be grounded and coast polarity pr ogrammed to 1. input coast polarity defaults to1 at power-up. this pin is sh ared with the extclk function, which do es not affect coast functionality. for more details on extclk, see the description in this section. extclk/coast external clock. this allows the insertion of an external clock source rather than the internally generated, pll locked clock. extclk is enabled by programming register 0x03, bit 2 to 1. this pin is shared with the coast func tion, which does not affect extclk functionality. for more details on coas t, see the above description in this section. pwrdn power-down control this pin can be used along with register 0x1e, bit 3 for ma nual power-down control. if manual power-down control is selected (register 0x1e, bit 4) and this pin is not used, it is recommended to set the pin polarity (register 0x1e, bit 2) to active high and hardwire this pin to ground with a 10 k resistor.
preliminary technical data ad9984 rev. prb | page 9 of 45 pin description reflo refhi input amplifier reference. reflo and refhi are connected together through a 10 f ca pacitor; these are used for st ability in the input adc circuitry. see figure 5. filt external filter connection. for proper operation, the pixel clock genera tor pll requires an external filter. conne ct the filter shown in figure 6 to this pin. for optimal performance, minimize noise and parasi tics on this node. for more information, see the pcb layout recommendations section. outputs hsout horizontal sync output. a reconstructed and phase-aligned version of the hsync input. both the polari ty and duration of this output can be programmed via serial bus registers. by maintaining alignm ent with datack and data, da ta timing with respect to hsync can always be determined. vsout/a0 vertical sync output. pin shared with a0, serial port address. this can be either a separated vsync from a composite signal or a direct pass through of the vsync signal. the polari ty of this output can be controlled vi a a serial bus bit. the placement and duration in all modes can be set by the graphics transmitter or the duration ca n be set by register 0x14 and register 0x15. this pin is shared with the a0 fu nction, which does not affe ct vsync output functional ity. for more details on a0, see the description in the serial control port section. sogout sync-on-green slicer output. this pin outputs one of four possible signals (controlled by register 0x1d, bits [1:0]): ra w sog, raw hsync, regenerated hsync from the filter, or the filtered hsync. see the sync pr ocessing block diagram (see figure 8) to view how this pin is connected. other than slicing off sog, the output from th is pin gets no other additional processing on the ad9984. vsync separation is performed via the sync separator. o/e field odd/even field bit for interlaced video. this output will identify whether the curre nt field (in an interlaced signal) is odd or even. serial port sda serial port data i/o. scl serial port data clock. vsout/a0 serial port address input 0. pin shared with vsout. this pin selects the lsb of the serial port device address, allowing two analog devices parts to be on the same serial bus. a high impedance external pull-up resistor enables this pin to be read at power-up as 1, or a high impedance, external pull-down resistor enables this pin to be read at power-up as a 0 and not interfere with the vsout functionality. for more details on vs out, see the outputs section in this table. data outputs red [9:0] data output, red channel. green [9:0] data output, green channel. blue [9:0] data output, blue channel. the main data outputs. bit 9 is the msb. the delay from pixel sampling time to output is fixed. when the sa mpling time is changed by adjusting the phase register, the output timing is shifted as well. the datack and hsout outputs are also moved, so the timing relationship among the signals is maintained. data clock output datack data clock output. this is the main clock output signal us ed to strobe the output data and hsou t into external logic. four possible output clocks can be selected with regist er 0x20, bits [7:6]. three of these are related to the pixel clock (pixel clock, 90 phase-shifted pixel clock and 2 frequency pixel cloc k). they are produced either by the internal pll clock generator or extclk and are synchronous with the pixel sa mpling clock. the fourth option for the data clock output is an internally generated 1/2x pixel clock. the sampling time of the internal pixel clock can be chan ged by adjusting the phase register (register 0x04). when this is changed, the pixel related datack timing is also shifted. the data, datack, an d hsout outputs are all moved so that the timing relationship among the signals is maintained.
ad9984 preliminary technical data rev. prb | page 10 of 45 pin description power supply v d (1.8 v) main power supply. these pins supply power to the main elements of the circ uit. they should be as quiet and filtered as possible. v dd (1.8 vC3.3 v) digital output power supply. a large number of output pins (up to 35) switching at hi gh speed (up to 170 mhz) generates a lot of power supply transients (noise). these supply pins are identified separately from the v d pins, so special care can be taken to minimize output noise transferred into the sensitive analog ci rcuitry. if the ad9984 is interfacing with lower voltage logic, v dd may be connected to a lower supply voltage (as low as 1.8 v) for compatibility. pv d (1.8 v) clock generator power supply. the most sensitive portion of the ad9984 is the clock genera tion circuitry. these pins provide power to the clock pll and help the user design for optimal performance. the design er should provide quiet, noise-free power to these pins. dav dd (1.8 v) digital input power supply. th is supplies power to the digital logic. gnd ground. the ground return for all circuitry on-c hip. it is recommended that the ad9984 be assembled on a single solid ground plane, with careful attentio n to ground current paths.
preliminary technical data ad9984 rev. prb | page 11 of 45 design guide general description the ad9984 is a fully integrated solution for capturing analog rgb or ypbpr signals and digitizing them for display on advanced tvs, flat panel monitors, projectors, and other types of digital displays. implemented in a high-performance cmos process, the interface can capture signals with pixel rates of up to 170 mhz. the ad9984 includes all necessary input buffering, signal dc restoration (clamping), offset and gain (brightness and contrast) adjustment, pixel clock generation, sampling phase control, and output data formatting. all controls are programmable via a two-wire serial interface (i 2 c ? ). full integration of these sensitive analog functions makes system design straightforward and less sensitive to the physical and electrical environment. with a typical power dissipation of less than 900 mw and an operating temperature range of 0c to 70c, the device requires no special environmental considerations. digital inputs all digital inputs on the ad9984 operate to 3.3 v cmos levels. the following digital inputs are 5 v tolerant (applying 5 v to them will not cause any damage.): hsync0, hsync1, vsync0, vsync1, sogin0, sogin1, sda, scl and clamp. input signal handling the ad9984 has six high-impedance analog input pins for the red, green, and blue channels. they accommodate signals ranging from 0.5 v to 1.0 v p-p. signals are typically brought onto the interface board with a dvi-i connector, a 15-pin d connector, or rca connectors. the ad9984 should be located as close as possible to the input connector. signals should be routed using matched-impedance traces (normally 75 ) to the ic input pins. at the input pins the signal should be resistively terminated (75 to the signal ground return) and capacitively coupled to the ad9984 inputs through 47 nf capacitors. these capacitors form part of the dc restoration circuit. in an ideal world of perfectly matched impedances, the best performance can be obtained with the widest possible signal bandwidth. the wide bandwidth inputs of the ad9984 (300 mhz) can track the input signal continuously as it moves from one pixel level to the next and can digitize the pixel during a long, flat pixel time. in many systems, however, there are mismatches, reflections, and noise, which can result in excessive ringing and distortion of the input waveform. this makes it more difficult to establish a sampling phase that provides good image quality. it has been shown that a small inductor in series with the input is effective in rolling off the input bandwidth slightly and providing a high quality signal over a wider range of conditions. using a fair-rite #2508051217z0-high speed, signal chip bead inductor in the circuit shown in figure 3 gives good results in most applications. rgb input r ain g ain b ain 47nf 75 04739-003 figure 3. analog input interface circuit hsync and vsync inputs the interface also accepts hsync and vsync signals, which are used to generate the pixel clock, clamp timing, coast and field information. these can be either a sync signal directly from the graphics source, or a preprocessed ttl or cmos level signal. the hsync input includes a schmitt trigger buffer for immunity to noise and signals with long rise times. in typical pc-based graphic systems, the sync signals are simply ttl-level drivers feeding unshielded wires in the monitor cable. as such, no termination is required. serial control port the serial control port is designed for 3.3 v logic; however, it is tolerant of 5 v logic signals. refer to the section of i2c bus hardware considerations in the two-wire serial control port description. output signal handling the digital outputs are designed to operate from 1.8 v to 3.3 v (v dd ). clamping rgb clamping to properly digitize the incoming signal, the dc offset of the input must be adjusted to fit the range of the on-board adcs. most graphics systems produce rgb signals with black at ground and white at approximately 0.75 v. however, if sync signals are embedded in the graphics, the sync tip is often at ground and black is at 300 mv. then white is at approximately 1.0 v. some common rgb line amplifier boxes use emitter- follower buffers to split signals and increase drive capability. this introduces a 700 mv dc offset to the signal, which must be removed for proper capture by the ad9984. the key to clamping is to identify a portion (time) of the signal when the graphic system is known to be producing black. an offset is then introduced that results in the adc producing a black output (code 0x00) when the known black input is present. the offset then remains in place when other signal levels are processed, and the entire signal is shifted to eliminate offset errors.
ad9984 preliminary technical data rev. prb | page 12 of 45 in most pc graphics systems, black is transmitted between active video lines. with crt displays, when the electron beam has completed writing a horizontal line on the screen (at the right side), the beam is deflected quickly to the left side of the screen (called horizontal retrace) and a black signal is provided to prevent the beam from disturbing the image. in systems with embedded sync, a blacker-than-black signal (hsync) is produced briefly to signal the crt that it is time to begin a retrace. because the input is not at black level at this time, it is important to avoid clamping during hsync. fortu- nately, there is virtually always a period following hsync, called the back porch, where a good black reference is provided. this is the time when clamping should be done. the clamp timing can be established by simply exercising the clamp pin at the appropriate time with clamp source (register 0x18, bit 4) = 1. the polarity of this signal is set by the clamp polarity bit (register 0x1b, bits [7:6]). a simpler method of clamp timing employs the ad9984 internal clamp timing generator. the clamp placement register (register 0x19) is programmed with the number of pixel periods that should pass after the trailing edge of hsync before clamping starts. a second register, clamp duration, (register 0x1a) sets the duration of the clamp. these are both 8-bit values, providing considerable flexibility in clamp generation. the clamp timing is referenced to the trailing edge of hsync because, though hsync duration can vary widely, the back porch (black reference) always follows hsync. a good starting point for establishing clamping is to set the clamp placement to 0x04 (providing 4 pixel periods for the graphics signal to stabilize after sync) and set the clamp duration to 0x28 (giving the clamp 40 pixel periods to reestablish the black reference). clamping is accomplished by placing an appropriate charge on the external input coupling capacitor. the value of this capacitor affects the performance of the clamp. if it is too small, there will be a significant amplitude change during a horizontal line time (between clamping intervals). if the capacitor is too large, then it will take excessively long for the clamp to recover from a large change in incoming signal offset. the recommended value (47 nf) results in recovering from a step error of 100 mv to within 1 lsb in 30 lines with a clamp duration of 20 pixel periods on a 85 hz xga signal. ypbpr clamping ypbpr graphic signals are slightly different from rgb signals in that the dc reference level (black level in rgb signals) of color difference signals is at the midpoint of the video signal rather than at the bottom. the three inputs are composed of luminance (y) and color difference (pb and pr) signals. for color differ-ence signals it is necessary to clamp to the midscale range of the adc range (512) rather than to the bottom of the adc range (0), while the y channel is clamped to ground. clamping to midscale rather than ground can be accomplished by setting the clamp select bits in the serial bus register. each of the three converters has its own selection bit so that they can be clamped to either midscale or ground independently. these bits are located in register 0x18, bits [3:1]. the midscale reference voltage is internally generated for each converter. gain and offset control the ad9984 contains three programmable gain amplifiers (pgas), one for each of the three analog inputs. the range of the pga is sufficient to accommodate input signals with inputs ranging from 0.5 v to 1.0 v full scale. the gain is set in three 9-bit registers (red gain [0x05, 0x06], green gain [0x07, 0x08], blue gain [0x09, 0x0a]). for ea ch of these registers, a gain setting of 0 d corresponds to the highest gain, while a gain setting of 511 d corresponds to the lowest gain. note that increasing the gain setting results in an image with less contrast. the offset control shifts the analog input, resulting in a change in brightness. three 11-bit registers (red offset [0x0b, 0x0c], green offset [0x0d, 0x0e], blue offset [0x0f, 0x10]) provide independent settings for each channel. note that the function of the offset register depends on whether auto-offset is enabled (register 0x1b, bit 5). if manual offset is used, nine bits of the offset registers (for the red channel register 0x0b, bits[6:0] plus register 0x0c, bits [7:6]) control the absolute offset added to the channel. the offset control provides 255 lsbs of adjustment range, with one lsb of offset corresponding to one lsb of output code. automatic offset in addition to the manual offset adjustment mode, the ad9984 also includes circuitry to automatically calibrate the offset for each channel. by monitoring the output of each adc during the back porch of the input signals, the ad9984 can self-adjust to eliminate any offset errors in its own adc channels and any offset errors present on the incoming graphics or video signals. to activate the auto-offset mode, set register 0x1b, bit 5 to 1. next, the target code registers (0x0b through 0x10) must be programmed. the values programmed into the target code registers should be the output code desired from the ad9984 during the back porch reference time. for example, for rgb signals, all three registers would normally be programmed to code 1, while for ypbpr signals the green (y) channel is nor- mally programmed to code 1 and the blue and red channels (pb and pr) are normally set to 512. the target code registers have 11 bits per channel and are in twos complement format. this allows any value between C1024 and +1023 to be program- med. although any value in this range can be programmed, the ad9984s offset range may not be able to reach every value. intended target code values range from (but are not limited to)
preliminary technical data ad9984 rev. prb | page 13 of 45 C160 to C1 and 1 to 160 when ground clamping, and 350 to 670 when midscale clamping. note that a target code of 0 isnt valid. negative target codes are included in order to duplicate a fea- ture that is present with manual offset adjustment. the benefit that is being mimicked is the ability to easily adjust brightness on a display. by setting the target code to a value that does not correspond to the ideal adc range, the end result is an image that is either brighter or darker. a target code higher than ideal results in a brighter image, while a target code lower than ideal results in a darker image. the ability to program a target code gives a large degree of freedom and flexibility. while in most cases all channels are set to either 1 or 512, the flexibility to select other values allows the possibility of inserting intentional skews between channels. it also allows the adc range to be skewed so that voltages outside of the normal range can be digitized. for example, setting the target code to 40 allows the sync tip, which is normally below black level, to be digitized and evaluated. the internal logic for the auto-offset circuit requires 16 data clock cycles to perform its function. this operation is executed immediately after the clamping pulse. therefore, it is important to end the clamping pulse signal at least 16 data clock cycles before active video. this is true whether using the ad9984s internal clamp circuit or an external clamp signal. the auto- offset function can be programmed to run continuously or on a one-time basis (see auto-offset hold, register 0x2c, bit 4). in continuous mode, the update frequency can be programmed (register 0x1b, bits [4:3]). continuous operation with updates every 64 hsyncs is recommended. a guideline for basic auto-offset operation is shown in table 5 and table 6. table 5. rgb auto-offset register settings register value comments 0x0b 0x00 sets red target to 4 0x0c 0x80 must be written 0x0d 0x00 sets green target to 4 0x0e 0x80 must be written 0x0f 0x00 sets blue target to 4 0x10 0x80 must be written 0x18, bits [3:1] 000 sets red, green, and blue channels to ground clamp 0x1b, bit [5:3] 110 selects update rate and enables auto-offset. table 6. pbpr auto-offset register settings register value comments 0x0b 0x40 sets pr (red) target to 512 0x0c 0x00 must be written 0x0d 0x00 sets y (green) target to 4 0x0e 0x80 must be written 0x0f 0x40 sets pb (blue) target to 512 0x10 0x00 must be written 0x18 bits [3:1] 101 sets pb, pr to midscale clamp and y to ground clamp 0x1b, bit [5:3] 110 selects update rate and enables auto-offset automatic gain matching the ad9984 includes circuitry to match the gains between the three channels to within 1% of each other. matching the gains of each channel is necessary in order to achieve good color balance on a display. on products without this feature, gain matching is achieved by writing software which evaluates the output of each channel, calculates gain mismatches, then writes values to the gain registers of each channel to compensate. with the auto gain matching function, this software routine is no longer needed. to activate auto gain matching, set register 3ch, bit 2 to 1. auto gain matching has similar timing requirements to auto offset. it requires 16 data clock cycles to perform its function, starting immediately after the end of the clamp pulse. unlike auto offset it does not require that these 16 clock cycles occur during the back porch reference time, although that is what is recommended. during auto gain matching operation, the data outputs of the ad9984 are frozen (held at the value they had just prior to operation). the auto gain matching function can be programmed to run continuously or on a one-time basis (see auto gain matching hold, register 2ch, bit 3). in continuous mode, the update frequency can be programmed (register 1bh, bits 4:3). continuous operation with updates every 64 hsyncs is recommended. sync-on-green the sync-on-green input operates in two steps. first, it sets a baseline clamp level off of the incoming video signal with a negative peak detector. second, it sets the sync trigger level to a programmable (register 0x1d, bits [7:3]) level (typically 128 mv) above the negative peak. the sync-on-green input must be ac-coupled to the green analog input through its own capacitor. the value of the capacitor must be 1 nf 20%. if sync-on-green is not used, this connection is not required. the sync-on-green signal always has negative polarity. r ain b ain g ain sog 47nf 47nf 47nf 1nf 04739-004 figure 4. typical input configuration reference bypassing reflo and refhi are connected to each other by a 10 f capacitor. these references are used by the input adc circuitry.
ad9984 preliminary technical data rev. prb | page 14 of 45 refhi reflo 10 f 0 4 7 3 9 - 0 1 4 figure 5. input amplifier reference capacitors clock generation a pll is used to generate the pixel clock. the hsync input pro- vides a reference frequency to the pll. a voltage controlled oscillator (vco) generates a much higher pixel clock frequency. the pixel clock is divided by the pll divide value (register 0x01 and register 0x02) and phase-compared with the hsync input. any error is used to shift the vco frequency and maintain lock between the two signals. the stability of this clock is a very important element in providing the clearest and most stable image. during each pixel time, there is a period during which the signal is slewing from the old pixel amplitude and settling at its new value. then there is a time when the input voltage is stable, before the signal must slew to a new value (see figure 6). the ratio of the slewing time to the stable time is a function of the bandwidth of the graphics dac and the bandwidth of the transmission system (cable and termination). it is also a function of the overall pixel rate. clearly, if the dynamic characteristics of the system remain fixed, then the slewing and settling time is likewise fixed. this time must be subtracted from the total pixel period, leaving the stable period. at higher pixel frequencies, the total cycle time is shorter and the stable pixel time also becomes shorter. pixel clock invalid sample times 04739-005 figure 6. pixel sampling times any jitter in the clock reduces the precision with which the sampling time can be determined and must also be subtracted from the stable pixel time. considerable care has been taken in the design of the ad9984s clock generation circuit to minimize jitter. the clock jitter of the ad9984 is low in all operating modes, making the reduction in the valid sampling time due to jitter negligible. the pll characteristics are determined by the loop filter design, the pll charge pump current, and the vco range setting. the loop filter design is illustrated in figure 7. recommended settings of the vco range and charge pump current for vesa standard display modes are listed in table 9. c p 8nf c z 80nf r z 1.5k filt pv d 04739-006 figure 7. pll loop filter detail four programmable registers are provided to optimize the performance of the pll. these registers are 1. the 12-bit divisor register. the input hsync frequencies can accommodate any hsync as long as the product of the hsync and the pll divisor falls within the operating range of the vco. the pll multiplies the frequency of the hsync signal, producing pixel clock frequencies in the range of 10 mhz to 170 mhz. the divisor register controls the exact multiplication factor. this register may be set to any value between 2 and 4095 as long as the output frequency is within range. 2. the 2-bit vco range register. to improve the noise performance of the ad9984, the vco operating frequency range is divided into four overlapping regions. the vco range register sets this operating range. the frequency ranges for the four regions are shown in table 7. table 7. vco frequency ranges pv1 pv0 pixel clock range (mhz) kvco gain (mhz/v) 0 0 10C21 150 0 1 21C42 150 1 0 42C84 150 1 1 84-170 150 3. the 3-bit charge pump current register. this register varies the current that drives the low pass loop filter. the possible current values are listed in table 8. table 8. charge pump current/control bits ip2 ip1 ip0 current (a) 0 0 0 50 0 0 1 100 0 1 0 150 0 1 1 250 1 0 0 350 1 0 1 500 1 1 0 750 1 1 1 1500 4. the 5-bit phase adjust register. the phase of the gen- erated sampling clock may be shifted to locate an optimum
preliminary technical data ad9984 rev. prb | page 15 of 45 sampling point within a clock cycle. the phase adjust register provides 32 phase-shift steps of 11.25 each. the hsync signal with an identical phase shift is available through the hsout pin. phase adjust is still available if an external pixel clock is used. the coast pin or the internal coast is used to allow the pll to continue to run at the same frequency in the absence of the incoming hsync signal or during disturbances in hsync (such as from equalization pulses). this may be used during the vertical sync period or at any other time that the hsync signal is unavailable. the polarity of the coast signal may be set through the coast polarity register (register 0x18, bits [6:5]). also, the polarity of the hsync signal may be set through the hsync polarity register (register 0x12, bits [5:4]). for both hsync and coast, a value of 1 is active high. the internal coast function is driven off the vsync signal, which is typically a time when hsync signals may be disrupted with extra equalization pulses.
ad9984 preliminary technical data rev. prb | page 16 of 45 table 9. recommended vco range and charge pump and current settings for standard display formats standard resolution refresh rate (hz) horizontal frequency (khz) pixel rate (mhz) pll divider vcornge current vga 640 480 60 31.500 25.175 800 00 101 72 37.700 31.500 832 01 011 75 37.500 31.500 840 01 011 85 43.300 36.000 832 01 100 svga 800 600 56 35.100 36.000 1024 01 100 60 37.900 40.000 1056 01 100 72 48.100 50.000 1040 01 100 75 46.900 49.500 1056 01 100 85 53.700 56.250 1048 01 101 xga 1024 768 60 48.400 65.000 1344 10 100 70 56.500 75.000 1328 10 011 75 60.000 78.750 1312 10 100 80 64.000 85.500 1336 10 100 85 68.300 94.500 1376 10 011 sxga 1280 1024 60 64.000 108.000 1688 10 100 75 80.000 135.000 1688 11 100 85 91.100 157.500 1728 11 100 uxga 1600 1200 60 75.000 162.000 2160 11 100 tv 480i 30 15.750 13.510 858 00 010 480p 60 31.470 27.000 858 00 101 576i 30 15.625 13.500 864 00 010 576p 60 31.250 27.000 864 00 101 720p 60 45.000 74.250 1650 10 011 1035i 30 33.750 74.250 2200 10 011 1080i 60 33.750 74.250 2200 10 011 1080p 60 67.500 148.500 2200 11 100
preliminary technical data ad9984 rev. prb | page 17 of 45 ad9984 sync processor pll clock generator mux hsync filter 0 1 sog out out out hsync coast datack sogin0 1 coast 0 4 7 4 0 - 0 - 0 1 2 channel select select 0 vsync1 hsync/vsync counter reg 26h, 27h odd/even field ad 1 ad 1 mux mux mux rh 3 fh 4 mux sp 5 sp 5 sp 5 mux 4 5 3 2 1 activity detect polarity detect regenerated hsync filtered hsync set polarity sp 5 vsync filter and ad 1 pd 2 ad 1 pd 2 ad 1 pd 2 ad 1 pd 2 mux sync slicer sync slicer vsync hsync hsync hsync hsync vsync sogin and regenerator figure 8. sync processing block diagram sync processing the inputs of the sync processing section of the ad9984 are combinations of digital hsyncs and vsyncs, analog sync-on- green, or sync-on-y signals, and an optional external coast signal. from these signals it generates a precise, jitter-free clock from its pll; an odd-/even-field signal; hsync and vsync out signals; a count of hsyncs per vsync; and a programmable sog output. the main sync processing blocks are the sync slicer, sync separator, hsync filter, hsync regenerator, vsync filter, and coast generator. the sync slicer extracts the sync signal from the green graphics or luminance video signal that is connected to the sogin input and outputs a digital composite sync. the sync separators task is to extract vsync from the composite sync signal, which can come from either the sync slicer or the hsync input. the hsync filter is used to eliminate any extraneous pulses from the hsync or sogin inputs, outputting a clean, low-jitter signal that is appropriate for mode detection and clock generation. the hsync regenerator is used to recreate a clean, although not low jitter, hsync signal that can be used for mode detection and counting hsyncs per vsync. the vsync filter is used to elimi- nate spurious vsyncs, maintain a stable timing relationship between the vsync and hsync output signals, and generate the odd/even field output. the coast generator creates a robust coast signal that allows the pll to maintain its frequency in the absence of hsync pulses. sync slicer the purpose of the sync slicer is to extract the sync signal from the green graphics or luminance video signal that is connected to the sogin input. the sync signal is extracted in a two step process. first, the sog input is clamped to its negative peak, (typically 0.3 v below the black level). next, the signal goes to a comparator with a variable trigger level (set by register 0x1d, bits [7:3]), but nominally 0.128 v above the clamped level. the sync slicer output is a digital composite sync signal containing both hsync and vsync information (see figure 9).
ad9984 preliminary technical data rev. prb | page 18 of 45 04739-015 sog input sogout output connected to hsyncin negative pulse width = 40 sample clocks composite sync at hsyncin vsyncout from sync separator ?300mv ?300mv 700mv maximum 0mv figure 9. sync slicer and sync separator output sync separator as part of sync processing, the sync separators task is to extract vsync from the composite sync signal. it works on the idea that the vsync signal stays active for a much longer time than the hsync signal. by using a digital low-pass filter and a digital comparator, it rejects pulses with small durations (such as hsyncs and equalization pulses) and only passes pulses with large durations, such as vsync (see figure 9). the threshold of the digital comparator is programmable for maximum flexibility. to program the threshold duration, write a value (n) to register 0x11. the resulting pulse width is n 200 ns. so, if n = 5 the digital comparator threshold is 1 s. any pulse less than 1 s is rejected, while any pulse greater than 1 s passes through. there are two things to keep in mind when using the sync separator. first, the resulting clean vsync output is delayed from the original vsync by a duration equal to the digital comparator threshold (n 200 ns). second, there is some variability to the 200 ns multiplier value. the maximum variability over all operating conditions is 20% (160 ns to 240 ns). since normal vsync and hsync pulse widths differ by a factor of about 500 or more, the 20% variability is not an issue. hsync filter and regenerator the hsync filter is used to eliminate any extraneous pulses from the hsync or sogin inputs, outputting a clean, low-jitter signal that is appropriate for mode detection and clock generation. the hsync regenerator is used to recreate a clean, although not low jitter, hsync signal that can be used for mode detection and counting hsyncs per vsync. the hsync regenerator has a high degree of tolerance to extraneous and missing pulses on the hsync input, but is not appropriate for use by the pll in creating the pixel clock due to jitter. the hsync regenerator runs automatically and requires no setup to operate. the hsync filter requires the setting up of a filter window. the filter window sets a periodic window of time around the regenerated hsync leading edge where valid hsyncs are allowed to occur. the general idea is that extraneous pulses on the sync input occur outside of this filter window and thus are filtered out. in order to set the filter window timing, pro- gram a value ( x ) into register 0x23. the resulting filter window time is x times 25 ns around the regenerated hsync leading edge. just as for the sync separator threshold multiplier, allow a 20% variance in the 25 ns multiplier to account for all oper- ating conditions (20 ns to 30 ns range). a second output from the hsync filter is a status bit (0x25, bit 1) that tells whether extraneous pulses were present on the incoming sync signal or not. many times extraneous pulses are included for copy protection purposes, so this status bit can be used to detect that. the filtered hsync (rather than the raw hsync/sogin signal) for pixel clock generation by the pll is controlled by register 0x20, bit 2. the regenerated hsync (rather than the raw hsync/ sogin signal) for the sync processing is controlled by register 0x20, bit 1. use of the filtered hsync and regenerated hsync is recommended. see figure 10 for an illustration of a filtered hsync.
preliminary technical data ad9984 rev. prb | page 19 of 45 hsyncout vsync filter window expected edge filter window equalization pulses hsyncin 04739-016 figure 10. sync processing filter vsync filter and odd/even fields the vsync filter is used to eliminate spurious vsyncs, maintain a stable timing relationship between the vsync and hsync output signals, and generate the odd/even field output. the filter works by examining the placement of vsync with respect to hsync and if necessary shifting it in time slightly. the goal is to keep the vsync and hsync leading edges from switching at the same time, thus eliminating confusion as to when the first line of a frame occurs. register 0x14, bit 2 enables the vsync filter. use of the vsync filter is recommended for all cases, including interlaced video, and is required when using the hsyncs per vsync counter. figure 12 illustrates even/odd field determination in two situations. field 1 field 0 sync separator threshold field 1 field 0 23 2 1 44 31 hsyncin vsyncin vsyncout o/e field odd field quadrant 04739-017 figure 11.
ad9984 preliminary technical data rev. prb | page 20 of 45 field 1 field 0 sync separator threshold field 1 field 0 23 2 1 44 31 hsyncin vsyncin vsyncout o/e field even field quadrant 04739-018 figure 12. vsync filterodd/even power management to meet display requirements for low standby power, the ad9984 includes a power-down mode. the power-down state can be controlled manually (via pin 17 or register 0x1e, bit 3), or completely automatically by the chip. if automatic control is selected (0x1e, bit 4), the ad9984s decision is based on the status of the sync detect bits (register 0x24, bits 2, 3, 6, and 7). if either an hsync or a sync-on-green input is detected on any input, the chip powers up, or else it powers down. for manual control, the ad9984 allows flexibility of control through both a dedicated pin and a register bit. the dedicated pin allows a hardware watchdog circuit to control power-down, while the register bit allows power-down to be controlled by software. with manual power-down control, the polarity of the power- down pin must be set (0x1e, bit 2) whether the pin is used or not. if unused, it is recommended to set the polarity to active high and hardwire the pin to ground with a 10 k resistor. in power-down mode, there are several circuits that continue to operate as normal. the serial register and sync detect circuits maintain power so that the ad9984 can be woken up from its power-down state. the bandgap circuit maintains power because it is needed for sync detection. the sync-on-green and sogout functions continue to operate because the sogout output is needed when sync detection is performed by a secondary chip. all of these circuits require minimal power to operate. typical standby power on the ad9984 is about 50 mw. there are two options that can be selected when in power- down. these are controlled by bits 0 and 1 in register 0x1e. the first bit controls whether the sogout pin is in high impe- dance or not. in most cases, the user will not place sogout in high impedance during normal operation. the option to put sogout in high impedance is included mainly to allow for factory testing modes. the second option keeps the ad9984 powered up while placing only the outputs in high impedance. this option is useful when the data outputs from two chips are connected on a pcb and the user wants to switch instantaneously between the two. table 10.power-down control and mode descriptions inputs mode auto power-down control 1 power-down 2 sync detect 3 powered-on or comments power-up 1 x 1 everything power-down 1 x 0 only the serial bus, sync activity detect, sog, bandgap reference power-up 0 0 x everything power-down 0 1 x only the serial bus, sync activity detect, sog, bandgap reference 1 auto power-down control is set by register 0x1e, bit 4. 2 power-down is controlled by oring pin 17 with register 0x1e, bit 3. the polarity of pin 17 is set by register 0x1e, bit 2. 3 sync detect is determined by oring register 0x24, bits 2, 3, 6, and 7.
preliminary technical data ad9984 rev. prb | page 21 of 45 timing diagrams the following timing diagrams show the operation of the ad9984.the output data clock signal is created so that its rising edge always occurs between data transitions and can be used to latch the output data externally. there is a pipeline in the ad9984, which must be flushed before valid data becomes available. this means six data sets are presented before valid data is available. t per t dcycle t skew datac k data hsout 04739-007 figure 13. output timing datain p0 p1 p2 p5 p3 p4 p9 p6 p8 p10 p11 p7 hsin dataclk 8 clock cycle delay dataout p0 p1 p2 p3 2 clock cycle delay hsout 04739-008 figure 14. 4:4:4 timing mode datain p0 p1 p2 p5 p3 p4 p9 p6 p8 p10 p11 p7 hsin dataclk 8 clock cycle delay cb/crout b0 r0 b2 r2 yout y0 y1 y2 y3 2 clock cycle delay 1. pixel after hsout corresonds to blue input. 2. even number of pixel delay between hsout and dataout. hsout 0 4 7 3 9 - 0 0 9 figure 15. 4:2:2 timing mode
ad9984 preliminary technical data rev. prb | page 22 of 45 datain p0 p1 p2 p5 p3 p4 p9 p6 p8 p10 p11 p7 hsin dataclk 8 clock cycle delay 2 clock cycle delay ddr notes 1. output dataclk may be delayed 1/4 clock period in the registers. 2. see project document for values of f (falling edge) and r (rising edge). 3. for ddr 4:2:2 mode: timing is identical, values of f and r change. general notes 1. data delay may vary one clock cycle, depending on phase setting. 2. adcs sample input on falling edge of dataclk. 3. hsync shown is active high (edge shown is leading edge). hsout 04739-010 f0 r0 f1 r1 f2 r2 f3 r3 figure 16. ddr timing mode hsync timing the hsync is processed in the ad9984 to eliminate ambiguity in the timing of the leading edge with respect to the phase- delayed pixel clock and data. the hsync input is used as a reference to generate the pixel sampling clock. the sampling phase can be adjusted with respect to hsync through a full 360 in 32 steps via the phase adjust register (to optimize the pixel sampling time). display systems use hsync to align memory and display write cycles, so it is important to have a stable timing relationship between hsync output (hsout) and the data clock (datack). three things happen to hsync in the ad9984. first, the polarity of hsync input is determined and thus has a known output polarity. the known output polarity can be programmed either active high or active low (register 0x12, bit 3). second, hsout is aligned with datack and data outputs. third, the duration of hsout (in pixel clocks) is set via register 0x13. hsout is the sync signal that should be used to drive the rest of the display system. coast timing in most computer systems, the hsync signal is provided continuously on a dedicated wire. in these systems, the coast input and function are unnecessary and should not be used. in some systems, however, hsync is disturbed during the vertical sync period (vsync). in some cases, hsync pulses disappear. in other systems, such as those that employ composite sync (csync) signals or embedded sync-on-green, hsync may include equalization pulses or other distortions during vsync. to avoid upsetting the clock generator during vsync, it is important to ignore these distortions. if the pixel clock pll sees extraneous pulses, it attempts to lock to this new frequency, and will have changed frequency by the end of the vsync period. it then takes a few lines of correct hsync timing to recover at the beginning of a new frame, resulting in a tearing of the image at the top of the display. the coast input is provided to eliminate this problem. it is an asynchronous input that disables the pll input and holds the clock at its current frequency. the pll can free run for several lines without significant frequency drift. coast can be generated internally by the ad9984 (see register 0x18) or can be provided externally by the graphics controller. when internal coast is selected (register 0x18, bit 7 = 0, and register 0x14, bits [7:6] to select source), vsync is used as a basis for determining the position of coast. the internal coast signal is enabled a programmed number of hsync periods before the periodic vsync signal (precoast register 0x16) and dropped a programmed number of hsync periods after vsync (postcoast register 0x17). it is recommended that the vsync filter be enabled when using the internal coast function to allow the ad9984 to determine precisely the number of hsyncs/vsync and their location. in many applications where disruptions occur and coast is used, values of 2 for precoast and 10 ddr for postcoast are sufficient to avoid most extraneous pulses. output formatter the output formatter is capable of generating several output formats to be presented to the 30 data output pins. the output formats and the pin assignments for each format are listed in table 11. also, there are several clock options for the output clock. the user may select the pixel clock, a 90 phase-shifted pixel clock, a 2 pixel clock, or a fixed frequency 40 mhz clock for test purposes. the output clock may also be inverted. data output is available as 30 pin rgb or ycbcr or if either 4:2:2 or 4:4:4 ddr is selected, a secondary channel is available. this secondary channel is always 4:2:2 ddr and allows the flexibility of having a second channel with the same video data that can be utilized by either another display or even a storage device. depending on the choice of output modes, the primary output can be 30 pins, 20 pins or as little as 15 pins.
preliminary technical data ad9984 rev. prb | page 23 of 45 mode descriptions ? 4:4:4all channels come out with their 10 data bits at the same time. data is aligned to the negative edge of the clock for easy capture. this is the normal 30 bit output mode for rgb or 4:4:4 ycbcr. ? 4:2:2red and green channels contain 4:2:2 formatted data (20 pins) with y data on the green channel and cb, cr data on the red channel. data is aligned to the negative edge of the clock. the blue channel contains the secondary channel with cb, y, cr, y formatted 4:2:2 ddr data. the data edges are aligned to both edges of the pixel clock, so use of the 90 clock may be necessary to capture the ddr data. ? 4:4:4 ddrthis mode puts out full 4:4:4 data on 15 bits of the red and green channels, thus saving 15 pins. the first half (rgb [14:0]) of the 30-bit data is sent on the rising edge and the second half (rgb [29:15]) is sent on the falling edge. ddr 4:2:2 data is sent on the blue channel, as in 4:2:2 mode. rgb [29:0] = r [9:0] + g [9:0] + b [9:0], so rgb [29:15] = r [9:0] + g [9:5] and rgb [14:0] = g [4:0] + b [9:0] table 11. output formats port red green blue bit 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 4:4:4 red/cr green/y blue/cb 4:2:2 cb, cr y ddr 4:2:2 cb,cr y,y ddr g [4:0] ddr b [9:0] n/a ddr 4:2:2 cb,cr 4:4:4 ddr ddr r [9:0] ddr g [9:5] n/a ddr 4:2:2 y,y
ad9984 preliminary technical data rev. prb | page 24 of 45 two-wire serial register map the ad9984 is initialized and controlled by a set of registers, which determine the operating modes. an external controller is employed to write and read the control registers through the two-wire serial interface port. table 12.control register map hexadecimal address read and write or read only bits default value register name description 0x00 ro 7:0 chip revision an 8-bit register that represents the silicon revision level. 0x01 r/w 7:0 0110 1001 pll div msb this register is for bits [11:4] of the pll divider. larger values mean the pll operates at a faster rate. this register should be loaded first whenever a change is needed. (this will give the pll more time to lock). 1 0x02 r/w 7:4 1101 **** pll div lsb bits [7:4] lsbs of the pll divider word. links to the pll div msb to make a 12-bit register. 1 0x03 r/w 7:6 01** **** vco/cpmp bits [7:6] vco range. selects vco frequency range. (see pll description). 5:3 **00 1*** bits [5:3] charge pump current. va ries the current that drives the low-pass filter. (see pll description). 2 **** *0** bit 2. external clock enable 0x04 r/w 7:3 1000 0*** phase adjust adc clock phase adjustment. larger values mean more delay. (1 lsb = t/32). 0x05 r/w 6:0 *100 0000 red gain msbs 7-bit red channel gain control. controls adc input range (contrast) of each respective channel. bigger values give less contrast. 0x06 r/w 7:0 00** **** red gain lsbs linked with register 0x05 to form the 9-bit red gain that controls the adc input range (contrast) of the red channel. a lower value corresponds to a higher gain. 1 0x07 r/w 6:0 *100 0000 green gain msbs 7-bit green channel gain control. controls adc input range (contrast) of each respective channel. bigger values give less contrast. 0x08 r/w 7:0 00** **** green gain lsbs linked to register 0x07 to form the 9-bit green gain that controls the adc input range (contrast) of the green channel. a lower value corresponds to a higher gain. 1 0x09 r/w 6:0 *100 0000 blue gain msbs 7-bit blue channel gain control. controls adc input range (contrast) of each respective channel. bigger values give less contrast. 0x0a r/w 7:0 00** **** blue gain lsbs linked to register 0x09 to form the 9-bit blue gain that controls the adc input range (contrast) of the blue channel. a lower value corresponds to a higher gain. 1 0x0b r/w 7:0 0100 0000 red offset msbs 8-bit msbs of the red channel offset control. controls dc offset (brightness) of each respective channel. bigger values decrease brightness. 1 0x0c r/w 7 000* **** red offset lsbs linked to register 0x0b to form the 11-bit red offset that controls the dc offset (brightness) of th e red channel in auto-offset mode. 0x0d r/w 7:0 0100 0000 green offset msbs 8-bit msbs of the green channel offset control. controls dc offset (brightness) of each respective channel. bigger values decrease brightness. 1 0x0e r/w 7 000* **** green offset lsbs linked to register 0x0d to form the 11-bit green offset that controls the dc offset (brightness) of the green channel in auto- offset mode.
preliminary technical data ad9984 rev. prb | page 25 of 45 hexadecimal address read and write or read only bits default value register name description 0x0f r/w 7:0 0100 0000 blue offset msbs 8-bit msbs of the red channel offset control. controls dc offset (brightness) of each respective channel. bigger values decrease brightness. 1 0x10 r/w 7 000* **** blue offset lsbs linked to register 0x0f to form the 11-bit blue offset which controls the dc offset (brightne ss) of the blue channel in auto- offset mode. 0x11 r/w 7:0 0010 0000 sync separator threshold this register sets the threshold of the sync separators digital comparator. 0x12 r/w 7 0*** **** hsync control active hsync override. 0 = the chip determines the active hsync source. 1 = the active hsync source is set by 0x12, bit 6. 6 *0** **** selects the source of the hsync for pll and sync processing. this bit is used only if 0x12, bit 7 is set to 1 or if both syncs are active. 0 = hsync is from hsync input pin. 1 = hsync is from sog. 5 **0* **** hsync polarity override. 0 = the chip selects the hsync input polarity. 1 = the polarity of the input hsync is controlled by 0x12, bit 4. this applies to both hsync0 and hsync1. 4 ***1 **** hsync input polarity: this bit is used only if 0x12, bit 5 is set to 1. 0 = active low input hsync. 1 = active high input hsync. 3 **** 1*** sets the polarity of the hsync output signal. 0 = active low hsync output. 1 = active high hsync output. 0x13 r/w 7:0 0010 0000 hsync duration sets the number of pixel cloc ks that hsync out is active. 0x14 r/w 7 0*** **** vsync control active vsync override. 0 = the chip determines the active vsync source. 1 = the active vsync source is set by 0x14, bit 6. 6 *0** **** selects the source of vsync for the sync processing. this bit is used only if 0x14, bit 7 is set to 1. 0 = vsync is from the vsync input pin 1 = vsync is from the sync separator. 5 **0* **** vsync polarity override. 0 = the chip selects the input vsync polarity. 1 = the polarity of the input vsync is set by 0x14, bit 4. this applies to both vsync0 and vsync1. 4 ***1 **** vsync input polarity: this bit is used only if 0x14, bit 5 is set to 1. 0 = active low input vsync. 1 = active high input vsync. 3 **** 1*** sets the polarity of the output vsync signal. 0 = active low output vsync. 1 = active high output vsync. 2 **** *0** 0 = the vsync filter is disabled. 1 = the vsync filter is enabled. this needs to be enabled when us ing the hsync to vsync counter. 1 **** **0* enables the vsync duration block. this is designed to be used with the vsync filter. 0 = vsync output duration is unchanged. 1 = vsync output duration is set by register 0x15. 0x15 r/w 7:0 0000 1010 vsync duration sets the number of hsyncs that vs ync out is active. this is only used if 0x14, bit 1 is set to 1. 0x16 r/w 7:0 0000 0000 precoast the number of hsync periods to coast prior to vsync. 0x17 r/w 7:0 0000 0000 postcoast the number of hsync periods to coast after vsync.
ad9984 preliminary technical data rev. prb | page 26 of 45 hexadecimal address read and write or read only bits default value register name description 0x18 r/w 7 0*** **** coast and clamp control coast source. selects the source of the coast signal. 0 = using internal coast generated from vsync.. 1 = using external coast signal from external coast pin. 6 *0** **** coast polarity override. 0 = the chip selects the external coast polarity. 1 = the polarity of the external coas t signal is set by 0x18, bit 5. 5 **1* **** coast input polarity. this bit is used only if 0x18, bit 6 is set to 1. 0 = active low external coast. 1 = active high external coast. 4 ***0 **** clamp source select. 0 = use the internal clamp generated from hsync. 1 = use the external clamp signal. 3 **** 0*** red clamp. 0 = clamp the red channel to ground. 1 = clamp the red channel to midscale. 2 **** *0** green clamp. 0 = clamp the green channel to ground. 1 = clamp the green channel to midscale. 1 **** **0* blue clamp. 0 = clamp the blue channel to ground. 1 = clamp the blue channel to midscale. 0 **** ***0 must be set to 0 for proper operation. 0x19 r/w 7:0 0000 1000 clamp placement places the clamp signal an integer of clock periods after the trailing edge of the hsync signal. 0x1a r/w 7:0 0010 0000 clamp duration number of clock periods that the clamp signal is actively clamping. 0x1b r/w 7 0*** **** clamp and offset external clamp polarity override. 0 = the chip selects the clamp polarity. 1 = the polarity of the clamp signal is set by 0x1b, bit 6. 6 *1** **** external clamp input polarity. this bit is used only if 0x1b, bit 7 is set to 1 . 0 = active low external clamp. 1 = active high external clamp. 5 **0* **** 0 = auto-offset is disabled. 1 = auto-offset is enabled (offsets become the desired clamp code). 4:3 ***1 1*** this selects how often the auto-offset circuit operates. 00 = every 3 clamps; 01 = 48 clamps; 10 = every 192 clamps; 11 = every 3 vsyncs. 2:0 **** *011 must be written to default (011) for proper operation. 0x1c r/w 7:0 1111 1111 testreg0 must be set to 0xff for proper operation. 0x1d r/w 7:3 0111 1*** sog control sog slicer threshold. sets the voltage level of the sog slicers comparator. 2 **** *0** sogout polarity. sets the polarity of the si gnal on the sogout pin. 0 = active low sogout. 1 = active high sogout. 1:0 **** **00 sogout select. 00 = raw sog from sync slicer (sog0 or sog1). 01 = raw hsync (hsync0 or hsync1). 10 = regenerated sync from sync filter. 11 = filtered sync from sync filter. 0x1e r/w 7 *** **** power channel select override. 0 = the chip determines whic h input channels to use. 1 = the input channel selection is determined by 0x1e, bit 6.
preliminary technical data ad9984 rev. prb | page 27 of 45 hexadecimal address read and write or read only bits default value register name description 6 *0** **** channel select. input channel select: this is used only if 0x1e, bit 7 is set to 1, or if syncs are present on both channels. 0 = channel 0 syncs and data are selected. 1 = channel 1 syncs and data are selected. 5 **1* **** programmable bandwidth. 0 = low analog input bandwidth. 1 = high analog input bandwidth. 4 ***1 **** power-down control select. 0 = manual power-down control. 1 = auto power-down control. 3 **** 0*** power-down. 0 = normal operation. 1 = power-down. 2 **** *0** power-down pin polarity. 0 = active low. 1 = active high. 1 **** **0* power-down fast switching control. 0 = normal power-down operation. 1 = the chip stays powered up an d the outputs are put in high impedance mode. 0 **** ***0 sogout high impedance control. 0 = sogout operates as normal during power-down. 1 = sogout is in high impedance during power-down. 0x1f r/w 7:5 100* **** output select 1 output mode. 100 = 4:4:4 output mode. 101 = 4:2:2 output mode. 110 = 4:4:4ddr output mode. 4 ***1 **** primary output enable. 0 = primary output is in high impedance state. 1 = primary output is enabled. 3 **** 0*** secondary output enable. 0 = secondary output is in high impedance state. 1 = secondary output is enabled. 2:1 **** *10* output drive strength. 00 = low output drive strength. 01 = medium output drive strength. 10 = high output drive strength. 11 = high output drive strength. applies to all outputs except vsout. 0 **** ***0 output clock invert. 0 = noninverted pixel clock. 1 = inverted pixel clock. applies to all clocks output on datack. 0x20 r/w 7:6 0*** **** output select 2 output clock select. 00 = pixel clock. 01 = 90 phase shifted pixel clock. 10 = 2 pixel clock. 11 = 0.5x pixel clock. 5 *0** **** output high impedance. 0 = normal outputs. 1 = all outputs except sogout in high impedance mode. 4 **0* **** sog high impedance. 0 = normal sog output 1 = sogout pin is in high impedance mode. 3 ***0 **** field output polarity. sets the polarity of the field output signal. 0 = active low => even field, active high => odd field. 1 = active low => odd field, active high => even field.
ad9984 preliminary technical data rev. prb | page 28 of 45 hexadecimal address read and write or read only bits default value register name description 2 **** 1*** pll sync filter enable. 0 = pll uses raw hsync/sog. 1 = pll uses filtered hsync/sog. 1 **** *0** sync processing input select. selects the sync source for the sync processor. 0 = sync processing uses raw hsync/sogin. 1 = sync processing uses regenerated hsync from sync filter. 0 must be set to 1 for proper operation. 0x21 r/w 7:0 0010 0000 must be set to default for proper operation. 0x22 r/w 7:0 0011 0010 must be set to default for proper operation. 0x23 r/w 7:0 0000 1010 sync filter window width sets the window of time around the regenerated hsync leading edge (in 25 ns steps) that sync pulses are allowed to pass through. 0x24 ro 7 _*** **** sync detect hsync0 detection bit. 0 = hsync0 is not active. 1 = hsync0 is active. 6 *_** **** hsync1 detection bit. 0 = hsync 1 is not active. 1 = hsync 1 is active. 5 **_* **** vsync 0 detection bit. 0 = vsync0 is not active. 1 = vsync0 is active. 4 ***_ **** vsync1 detection bit. 0 = vsync1 is not active. 1 = vsync1 is active. 3 **** _*** sog0 detection bit 0 = sog0 is not active. 1 = sog0 is active. 2 **** *_** sog1 detection bit 0 = sog1 is not active. 1 = sog1 is active. 1 **** **_* coast detection bit. 0 = external coast is not active. 1 = external coast is active. 0 **** ***_ clamp detection bit. 0 = external clamp is not active. 1 = external clamp is active. 0x25 ro 7 _*** **** sync polarity detect hsync 0 polarity. 0 = hsync0 polarity is active low. 1 = hsync0 polarity is active high. 6 *_** **** hsync1 polarity. 0 = hsync1 polarity is active low. 1 = hsync1 polarity is active high. 5 **_* **** vsync0 polarity. 0 = vsync0 polarity is active low. 1 = vsync0 polarity is active high. 4 ***_ **** vsync1 polarity. 0 = vsync1 polarity is active low. 1 = vsync1 polarity is active high. 3 **** _*** coast polarity. 0 = external coast polarity is active low. 1 = external coast polarity is active high. 2 **** *_** clamp polarity. 0 = external clamp polarity is active low. 1 = external clamp polarity is active high. 1 **** **_* extraneous pulses detected. 0 = no equalization pulses detected on hsync. 1 = extraneous pulses detected on hsync. 0x26 ro 7:0 hsyncs per vsync msbs msbs of hsyncs per vsync count.
preliminary technical data ad9984 rev. prb | page 29 of 45 hexadecimal address read and write or read only bits default value register name description 0x27 ro 7:4 hsyncs per vsync lsbs lsbs of hsyncs per vsync count. 0x28 r/w 7:0 1011 1111 testreg1 must be written to 0xbf for proper operation. 0x29 r/w 7:0 0000 0010 testreg2 must be written to 0x02 for proper operation. 0x2a ro 7:0 testreg3 read only bits for future use. 0x2b ro 7:0 testreg4 read only bits for future use. 0x2c r/w 7:5 000* **** offset hold must be written to default for proper operation. 4 ***0 **** auto-offset hold. disables the auto-offset and holds the feedback result. 0 = one time update. 1 = continuous update. 3:0 **** 0000 must be written to default for proper operation. 0x2d r/w 7:0 1111 0000 testreg5 must be written to 0xe8 for proper operation. 0x2e r/w 7:0 1111 0000 testreg6 must be written to 0xe0 for proper operation. 0x3c r/w 7:4 0000 **** auto gain must be set to default for proper operation 3 **** 0*** auto gain matching hold 0 = disables auto gain updates and holds the current auto offset values. 1 = allows auto gain to update continuously 2:0 **** *000 auto gain matching enable 000 = auto gain is disabled 110= auto gain is enabled 1 functions with more than eight control bits, such as pll divide ratio, gain, and offset, are only updated when the lsbs are wr itten to (for example, register 0x02 for pll divide ratio).
ad9984 preliminary technical data rev. prb | page 30 of 45 detailed 2-wire serial control register descriptions chip identification 0x00 7:0 chip revision an 8-bit register that represents the silicon revision . pll divider control 0x01 7:0 pll divide ratio msbs the eight msbs of the 12-bit pll divide ratio plldiv. the pll derives a pixel clock from the incoming hsync signal. the pixel clock frequency is then divided by an integer value, such that the output is phase-locked to hsync. this plldiv value determines the number of pixel times (pixels plus horizontal blanking overhead) per line. this is typically 20% to 30% more than the number of active pixels in the display. the 12-bit value of the pll divider supports divide ratios from 2 to 4095 as long as the output frequency is within range. the higher the value loaded in this register, the higher the resulting clock frequency with respect to a fixed hsync frequency. vesa has established some standard timing specifi- cations, which will assist in determining the value for plldiv as a function of horizontal and vertical display resolution and frame rate (see table 9). however, many computer systems do not conform precisely to the recommendations and these numbers should be used only as a guide. the display system manufacturer should provide automatic or manual means for optimizing plldiv. an incorrectly set plldiv usually produces one or more vertical noise bars on the display. the greater the error, the greater the number of bars produced. the power-up default value of plldiv is 1693. plldivm = 0x69, plldivl = 0xdx. the ad9984 updates the full divide ratio only when the lsbs are written. writing to this register by itself does not trigger an update. 0x02 7:4 pll divide ratio lsbs the four lsbs of the 12-bit pll divide ratio plldiv. the power-up default value of plldiv is 1693. plldivm = 0x69, plldivl = 0xdx. clock generator control 0x03 7:6 vco range select two bits that establish the operating range of the clock generator. vcornge must be set to correspond to the desired operating frequency (incoming pixel rate). the pll gives the best jitter performance at high frequencies. for this reason, in order to output low pixel rates and still get good jitter performance, the pll actually operates at a higher frequency but then divides down the clock rate afterwards. see table 13 for the pixel rates for each vco range setting. the pll output divisor is automatically selected with the vco range setting. the power-up default value is 01. table 13. vco ranges vco range pixel rates 00 10-21 01 21-42 10 42-84 11 84-95 0x03 5:3 charge pump current three bits that establish the current driving the loop filter in the clock generator. the current must be set to correspond with the desired operating frequency. the power-up default value is current = 001. table 14. charge pump currents ip2 ip1 ip0 current 0 0 0 50 0 0 1 100 0 1 0 150 0 1 1 250 1 0 0 350 1 0 1 500 1 1 0 750 1 1 1 1500 0x03 2 external clock enable this bit determines the source of the pixel clock. table 15. external clock select settings extclk function 0 internally generated clock 1 externally provided clock signal a logic 0 enables the internal pll that generates the pixel clock from an externally provided hsync. a logic 1 enables the external extclk input pin. in this mode, the pll divide ratio (plldiv) is ignored. the clock phase adjust (phase) is still functional. the power-up default value is extclk = 0.
preliminary technical data ad9984 rev. prb | page 31 of 45 phase adjust 0x04 7:3 phase adjustment for the dll to generate the adc clock. a 5 bit value that adjusts the sampling phase in 32 steps across one pixel time. each step represents an 11.25 shift in sampling phase. the power up default is 16. input gain 0x05 6:0 red channel gain adjust msbs the 7-bit red channel gain control. the ad9984 can accommodate input signals with a full-scale range of between 0.5 v and 1.0 v p-p. setting the red gain to 511 corresponds to an input range of 1.0 v. a red gain of 0 establishes an input range of 0.5 v. note that increasing red gain results in the picture having less contrast (the input signal uses fewer of the available converter codes). values written to this register will not be updated until the lsb register (r0x06) has also been written. the power-up default is 1000000. 0x06 7:6 red channel gain adjust lsbs the 2 bit lsbs of the red channel gain control. along with the 7 msbs of gain control in the previous register, there are 9 bits of gain control. default power up value is 00. 0x07 6:0 green channel gain adjust msbs the 7-bit green channel gain control. see red channel gain adjust above. register update requires writing 0x00 to register 0x08. 0x08 7:6 green channel gain adjust lsbs the 2-bit lsbs of the green channel gain control. along with the 7 msbs of gain control in the previous register, there are 9 bits of gain control. default power- up value is 00. 0x09 6:0 blue channel gain adjust msbs the 7-bit blue channel gain control. see red channel gain adjust above. register update requires writing 0x00 to register 0x0a. 0x0a 7:6 blue channel gain adjust lsbs the 2-bit lsbs of the blue channel gain control. along with the 7 msbs of gain control in the previous register, there are 9 bits of gain control. default power- up value is 00. input offset 0x0b 7:0 red channel offset msbs the 8-bit msb of the red channel offset control. along with the 1 lsbs in the following register, there are 11 bits of dc offset control in the red channel. the offset control shifts the analog input, resulting in a change in brightness. note that the function of the offset register depends on whether auto-offset is enabled (register 0x1b, bit 5). if auto-offset is disabled, the 9 bits of the offset reg- isters (bits [6:0] of the offset msb register plus bits [7:6] of the following register) control the absolute offset added to the channel (for the red channel, register 0x0b, bits[6:0] plus register 0x0c, bits [7:6])control the absolute offset added to the channel. the offset control provides a 255 lsbs of adjustment range, with 1 lsb of offset corresponding to 1 lsb of output code. if auto-offset is enabled, the 11-bit offset (comprised of the 8 bits of the msb register and bits [7:5] of the following register) determines the clamp target code. the 11-bit offset consists of 1 sign bit plus 10 bits. if the register is programmed to 530 ddr, then the output code is equal to 530 ddr at the end of the clamp period. note that incrementing the offset register setting by 1 lsb adds 1 lsb of offset, regardless of the auto-offset setting. values written to this register are not updated until the lsb register (register 0x0c) has also been written. 0x0c 7:5 red channel offset lsbs the lsbs of the red channel offset control combine with the 8 bits of msb in the previous register to make 11 bits of offset control. 0x0d 7:0 green channel offset msbs the 8-bit green channel offset control. see red channel offset (0x0b). update of this register occurs only when register 0x0e is also written. 0x0e 7:5 green channel offset lsbs the lsbs of the green channel offset control combine with the 8 bits of msb in the previous register to make 11 bits of offset control. 0x0f 7:0 blue channel offset msbs the 8-bit blue channel offset control. see red channel offset (0x0b). update of this register occurs only when register 0x10 is also written.
ad9984 preliminary technical data rev. prb | page 32 of 45 0x10 7:5 blue channel offset lsbs the lsbs of the blue channel offset control combine with the 8 bits of msb in the previous register to make 11 bits of offset control. hsync controls 0x11 7:0 sync separator threshold this register sets the threshold of the sync separators digital comparator. the value written to this register is multiplied by 200 ns to get the threshold value. therefore, if a value of 5 is written, the digital comparator threshold is 1 s and any pulses less than 1 s are rejected by the sync separator. there is some variability to the 200 ns multiplier value. the maximum variability over all operating conditions is 20% (160 ns to 240 ns). since normal vsync and hsync pulse widths differ by a factor of about 500 or more, the 20% variability is not an issue. the power- up default value is 32 ddr. 0x12 7 hsync source override this is the active hsync override. setting this to 0 allows the chip to determine the active hsync source. setting it to 1 uses bit 6 of register 0x12 to determine the active hsync source. power-up default value is 0. table 16.active hsync source override override result 0 hsync source determined by chip 1 hsync source determined by user register 0x12, bit 6 0x12 6 hsync source this bit selects the source of the hsync for pll and sync processingonly if bit 7 of register 0x12 is set to 1 or if both syncs are active. setting this bit to 0 specifies the hsync from the input pin. setting it to 1 selects hsync from sog. power-up default is 0. table 17. active hsync select settings select result 0 hsync input 1 hsync from sog 0x12 5 hsync input polarity override this bit determines whether the chip selects the hsync input polarity or if it is specified. setting this bit to 0 allows the chip to automatically select the polarity of the input hsync; setting it to 1 indicates that bit 4 of register 0x12 specifies the polarity. power-up default is 0. table 18. hsync input polarity override settings override bit result 0 hsync polarity determined by chip 1 hsync polarity determined by user register 0x12, bit 4 0x12 4 input hsync polarity if bit 5 of register 0x12 is 1, the value of this bit specifies the polarity of the input hsync. setting this bit to 0 indicates an active low hsync; setting this bit to 1 indicates an active high hsync. power-up default is 1. table 19. hsync input polarity settings hsync polarity bit result 0 hsync input polarity is negative 1 hsync input polarity is positive 0x12 3 hsync output polarity this bit sets the polarity of the hsync output. setting this bit to 0 sets the hsync output to active low. setting this bit to 1 sets the hsync output to active high. power-up default setting is 1. table 20. hsync output polarity settings hsync output polarity bit result 0 hsync output polarity is negative 1 hsync output pola rity is positive 0x13 7:0 hsync duration an 8 bit register that sets the duration of the hsync output pulse. the leading edge of the hsync output is triggered by the internally-generated, phase-adjusted pll feedback clock. the ad9984 then counts a number of pixel clocks equal to the value in this register. this triggers the trailing edge of the hsync output, which is also phase-adjusted. vsync controls 0x14 7 vsync source override this is the active vsync override. setting this to 0 allows the chip to determine the active vsync source, setting it to 1 uses bit 6 of register 0x14 to determine the active vsync source. power-up default value is 0. table 21. active vsync source override override result 0 vsync source determined by chip 1 vsync source determined by user register 0x14, bit 6
preliminary technical data ad9984 rev. prb | page 33 of 45 0x14 6 vsync source this bit selects the source of the vsync for sync processing only if bit 7 of register 0x14 is set to 1. setting bit 6 to 0 specifies the vsync from the input pin; setting it to 1 selects vsync from the sync separator. power-up default is 0. table 22. active vsync select settings select result 0 vsync input 1 vsync from sync separator 0x14 5 vsync input polarity override this bit sets whether the chip selects the vsync input polarity or if it is specified. setting this bit to 0 allows the chip to automatically select the polarity of the input vsync. setting this bit to 1 indicates that bit 4 of register 0x14 specifies the polarity. power-up default is 0. table 23. vsync input polarity override settings override bit result 0 vsync polarity determined by chip 1 vsync polarity determined by user register 0x14, bit 4 0x14 4 input vsync polarity if bit 5 of register 0x14 is 1, the value of this bit specifies the polarity of the input vsync. setting this bit to 0 indicates an active low vsync; setting this bit to 1 indicates an active high vsync. power-up default is 1. table 24. vsync input polarity settings override bit result 0 vsync input polarity is negative 1 vsync input polarity is positive 0x14 3 vsync output polarity this bit sets the polarity of the hsync output. setting this bit to 0 sets the hsync output to active low. setting this bit to 1 sets the hsync output to active high. power-up default is 1. table 25. vsync output polarity settings vsync output polarity bit result 0 vsync output polarity is negative 1 vsync output polarity is positive 0x14 2 vsync filter enable this bit enables the vsync filter allowing precise placement of the vsync with respect to the hsync and facilitating the correct operation of the hsyncs/vsync count. table 26. vsync filter enable vsync filter bit result 0 vsync filter disabled 1 vsync filter enabled 0x14 1 vsync duration enable this enables the vsync duration block, which is designed to be used with the vsync filter. setting the bit to 0 leaves the vsync output duration unchanged. setting the bit to 1 sets the vsync output duration based on register 0x15. power-up duration is 0. table 27. vsync duration enable vsync duration bit result 0 vsync output durati on is unchanged 1 vsync output duration is set by register 0x15 0x15 7:0 vsync duration this is used to set the output duration of the vsync, and is designed to be used with the vsync filter. this is valid only if register 0x14, bit 1 is set to 1. power-up default is 10 ddr. coast and clamp controls 0x16 7:0 precoast this register allows the internally generated coast signal to be applied prior to the vsync signal. this is necessary in cases where pre-equalization pulses are present. the step size for this control is one hsync period. for precoast to work correctly, it is necessary for the vsync filter (0x14, bit 2) and sync processing filter (register 0x20, bit 1) both to be either enabled or disabled. the power-up default is 00. 0x17 7:0 postcoast this register allows the internally generated coast signal to be applied following the vsync signal. this is necessary in cases where postequalization pulses are present. the step size for this control is one hsync period. for postcoast to work correctly, it is necessary for the vsync filter (0x14, bit 2) and sync processing filter (0x20, bit 1) both to be either enabled or disabled. the power-up default is 00. 0x18 7 coast source this bit is used to select the active coast source. the choices are the coast input pin or vsync. if vsync is selected, the additional decision of using the vsync input pin or the output from the sync separator needs to be made (register 0x14, bits [7: 6]).
ad9984 preliminary technical data rev. prb | page 34 of 45 table 28. coast source selection settings select result 0 vsync (internal coast) 1 coast input pin 0x18 6 coast polarity override this register is used to override the internal circuitry that determines the polarity of the coast signal going into the pll. the power-up default setting is 0. table 29. coast polarity override settings override bit result 0 coast polarity determined by chip 1 coast polarity determined by user 0x18 5 input coast polarity this register sets the input coast polarity when bit 6 of register 0x18 = 1. the power-up default setting is 1. table 30. coast polarity settings coast polarity bit result 0 coast polarity is negative 1 coast polarity is positive 0x18 4 clamp source this bit determines the source of clamp timing. a 0 enables the clamp timing circuitry controlled by clamp placement and clamp duration. the clamp posi-tion and duration is counted from the leading edge of hsync. a 1 enables the external clamp input pin. the three channels are clamped when the clamp signal is active. the polarity of clamp is determined by the clamp polarity bit. the power-up default setting is 0. table 31. clamp source selection settings clamp source result 0 internally generated clamp 1 externally provided clamp signal 0x18 3 red clamp select this bit determines whether the red channel is clamped to ground or to midscale. the power-up default setting is 0. table 32. red clamp select settings clamp result 0 clamp to ground 1 clamp to midscale 0x18 2 green clamp select this bit determines whether the green channel is clamped to ground or to midscale. the power-up default setting is 0. table 33. green clamp select settings clamp result 0 clamp to ground 1 clamp to midscale 0x18 1 blue clamp select this bit determines whether the blue channel is clamped to ground or to midscale. the power-up default setting is 0. table 34. blue clamp select settings clamp result 0 clamp to ground 1 clamp to midscale 0x19 7:0 clamp placement an 8-bit register that sets the position of the internally generated clamp. when extclmp = 0 (register 0x18, bit 4), a clamp signal is generated internally, at a position established by the clamp placement register (register 0x19) and for a duration set by the clamp duration register (register 0x1a). clamping is started a clamp placement count(register 0x19) of pixel periods after the trailing edge of hsync. the clamp placement may be programmed to any value between 1 and 255. a value of 0 is not supported. the clamp should be placed during a time that the input signal presents a stable black-level reference, usually the back porch period between hsync and the image. when extclmp = 1, this register is ignored. power-up default setting is 8. 0x1a 7:0 clamp duration an 8-bit register that sets the duration of the internally generated clamp. when extclmp = 0 (register 0x18, bit 4), a clamp signal is generated internally at a position established by the clamp placement register (and for a duration set by the clamp duration register). clamping begins a clamp placement count (register 0x19) of pixel periods after the trailing edge of hsync. the clamp duration may be programmed to any value between 1 and 255. a value of 0 is not supported. for the best results, the clamp duration should be set to include the majority of the black reference signal time that follows the hsync signal trailing edge. insuf- ficient clamping time can produce brightness changes at the top of the screen, and a slow recovery from large changes in the average picture level (apl), or bright- ness. when extclmp = 1, this register is ignored. power-up default setting is 20 ddr.
preliminary technical data ad9984 rev. prb | page 35 of 45 0x1b 7 clamp polarity override this bit is used to override the internal circuitry that determines the polarity of the clamp signal. the power-up default setting is 0. table 35. clamp polarity override settings override bit result 0 clamp polarity determined by chip 1 clamp polarity determined by user register 0x1b, bit 6 0x1b 6 input clamp polarity this bit indicates the polarity of the clamp signal only if bit 7 of register 0x1b = 1. the power-up default setting is 1. table 36. clamp polarity override settings clmpol result 0 active low 1 active high 0x1b 5 auto-offset enable this bit selects between auto-offset mode and manual offset mode (auto-offset disabled) (see the section on auto-offset operation). the power-up default setting is 0. table 37. auto-offset settings auto-offset result 0 auto-offset is disabled 1 auto-offset is enable d (manual offset mode) 0x1b 4:3 auto-offset update frequency these bits control how often the auto-offset circuit is updated (if enabled). updating every 64 hsyncs is recommended. the power-up default setting is 11. table 38. auto-offset update mode clamp update result 00 update offset every clamp period 01 update offset every 16 clamp periods 10 update offset every 64 clamp periods 11 update offset every vsync periods 0x1b 2-0 must be written to 011 for proper operation. sog control 0x1d 7:3 sog comparator threshold this register allows the comparator threshold of the sog slicer to be adjusted. this register adjusts it in steps of 8 mv, with the minimum setting equaling 8 mv and the maximum setting equaling 256 mv. the power-up default setting is 15 ddr and corresponds to a threshold value of 128 mv. 0x1d 2 sog output polarity this bit sets the polarity of the sogout signal. the power-up default setting is 0. table 39. sogout polarity settings sogout result 0 active low 1 active high 0x1d 1:0 sog output select these register bits control what is output on the sogout pin. options are the raw sog from the slicer (this is the unprocessed sog signal produced from the sync slicer), the raw hsync, the regenerated sync from the sync filter which can generate missing syncs either due to coasting or drop-out, or finally the filtered sync which excludes extraneous syncs not occurring within the sync filter window. the power- up default setting is 0. table 40. sogout polarity settings sogout select function 00 raw sog from sync slicer (sog0 or sog1) 01 raw hsync (hsync0 or hsync1) 10 regenerated sync from sync filter 11 filtered sync from sync filter input and power control 0x1e 7 channel select override this bit provides an override to the automatic input channel selection. power-up default setting is 0. table 41. channel source override override result 0 channel input source determined by chip 1 channel input source determined by user register 0x1e, bit 6 0x1e 6 channel select this bit selects the active input channel if register 0x1e, bit 7 = 1 . this selects between channel 0 data and syncs or channel 1 data and syncs. power-up default setting is 0. table 42. channel select channel select result 0 channel 0 data and syncs are selected 1 channel 1 data and syncs are selected 0x1e 5 programmable bandwidth this bit selects between a low or high input band- width. it is useful in limiting noise for lower frequency inputs. the power-up default setting is 1. low analog input bandwidth is ~100 mhz; high analog input
ad9984 preliminary technical data rev. prb | page 36 of 45 bandwidth is ~200 mhz. table 43. input bandwidth select input bandwidth result 0 low analog input bandwidth 1 high analog input bandwidth 0x1e 4 power-down control select this bit determines whether power-down is con- trolled manually or automa tically by the chip. if automatic control is selected (register 0x1e, bit 4), the ad9984s decision is base d on the status of the sync detect bits (register 0x24, bits 2, 3, 6, and 7). if either an hsync or a sync-on-green input is detected on any input, the chip powers up or powers down. for manual control, the ad9984 allows the flexibility of control through both a dedicated pin and a register bit. the dedicated pin allows a hardware watchdog circuit to control power-down, while the register bit allows power-down to be controlled by software. with manual power-down control, the polarity of the powerdown pin must be set (0x1e, bit 2) whether it is used or not. if unused, it is recommended to set the polarity to active high and hardwire the pin to ground with a 10 k resistor . table 44. auto power-down select power-down select result 0 manual power-down control (user determines power-down) 1 auto power-down control (chip determines power-down) 0x1e 3 power-down this bit is used to manually place the chip in power- down mode. it is only used if manual power-down control is selected (see bit 4 above). both the state of this register bit and the power-down pin (pin 17) are used to control manual power-down. (see the power management section for more details on power-down. ) table 45. power-down settings power-down select pin 17 result 0 0 normal operation 1 x power-down 0x1e 2 power-down polarity this bit defines the polarity of the power-down pin (pin 17). it is only used if manual power-down control is selected (see bit 4 above) . table 46. power-down pin polarity select result 0 power-down pin is active low 1 power-down pin is active high 0x1e 1 power-down fast switching control this bit controls a special fast switching mode. with this bit the ad9984 can stay active during power- down and only put the outputs in high impedance. this option is useful when the data outputs from two chips are connected on a pcb and the user wants to switch instantaneously between the two . table 47. power-down fast switching control fast switching control result 0 normal power-down operation 1 the chip stays powered up and the outputs are put in high impedance mode. 0x1e 0 sogout high impedance control this bit controls whether the sogout output pin is in high impedance or not, when in power-down mode. in most cases, sogout is not put in high impedance during normal operation. it is usually needed for sync detection by the graphics controller. the option to put sogout in high impedance is included mainly to allow for factory testing modes. table 42. sogout high impedance control sogout control result 0 the sogout output operates as normal during power-down. 1 the sogout output is in high impedance during power-down. output control 0x1f 7:5 output mode these bits choose between three options for the output mode. in 4:4:4 mode, rgb is standard. in 4:2:2 mode, ycbcr is standard, which allows a reduction in the number of output pins from 30 to 20. in 4:4:4 ddr output mode, the data is in rgb mode, but changes on every clock edge. the power-up default setting is 100. table 43. output mode output mode result 100 4:4:4 rgb mode 101 4:2:2 ycbcr mode 110 4:4:4 ddr mode 0x1f 4 primary output enable this bit places the primary output in active or high impedance mode. the power-up default setting is 1. table 44. primary output enable select result 0 primary output is in high impedance mode 1 primary output is enabled
preliminary technical data ad9984 rev. prb | page 37 of 45 0x1f 3 secondary output enable this bit places the secondary output in active or high impedance mode. the secondary output is designated when using either 4:2:2 or 4:4:4-d (ddr). in these modes, the data on the blue output channel is the secondary output while the output data on the red and green channels are the primary output. secondary output is always a ddr ycbcr data mode. see the output formatter section and table 11. the power-up default setting is 0. table 45. secondary output enable select result 0 secondary output is in high impedance mode 1 secondary output is enabled 0x1f 2:1 output drive strength these two bits select the drive strength for all the high-speed digital outputs (except vsout, a0, and the o/e field). higher drive strength results in faster rise/fall times and in general makes it easier to capture data. lower drive strength results in slower rise/fall times and helps to reduce emi and digitally generated power supply noise. the power-up default setting is 10. table 46. output drive strength output drive result 00 low output drive strength 01 medium low output drive strength 10 medium high output drive strength 11 high output drive strength 0x1f 0 output clock invert this bit allows inversion of the output clock. the power-up default setting is 0. table 47. output clock invert select result 0 noninverted pixel clock 1 inverted pixel clock 0x20 7:6 output clock select these bits allow selection of optional output clocks such as a fixed 40 mhz clock, a 2 clock, a 90 phase- shifted clock, or the normal pixel clock. the power-up default setting is 00. table 48. output clock select select result 00 pixel clock 01 90 phase-shifted pixel clock 10 2 pixel clock 11 40 mhz internal clock 0x20 5 output high impedance this bit puts all outputs (except sogout) in a high impedance state. the power-up default setting is 0. table 49. output high impedance select result 0 normal outputs 1 all outputs (except sogo ut) in high impedance mode 0x20 4 sog high impedance this bit allows the sogout pin to be placed in high impedance mode. the power-up default setting is 0. table 50. sogout high impedance select result 0 normal sog output 1 sogout pin is in high impedance mode 0x20 3 field output polarity this bit sets the polarity of the field output bit. the power-up default setting is 1. table 51. field output polarity select result 0 active low = even field; active high = odd field 1 active low = odd field; active high = even field sync processing 0x20 2 pll sync filter this bit selects which signal the pll uses. it can select between either raw hsync or sog or filtered versions. the filtering of the hsync and sog can eliminate nearly all extraneous transitions which have tradi- tionally caused pll disruption. the power-up default setting is 0. table 52. pll sync filter enable select result 0 pll uses raw hsync or sog inputs 1 pll uses filtered hsync or sog inputs 0x20 1 sync processing input source this bit selects whether the sync processor uses a raw sync or a regenerated sync for the following functions: coast, h/v count, field detection and vsync duration counts. using the regenerated sync is recommended. table 53. sp filter enable select result 0 sync processing uses raw hsync or sog 1 sync processing uses the internally regenerated hsync
ad9984 preliminary technical data rev. prb | page 38 of 45 0x21 7:0 must be set to default 0x22 7:0 must be set to default 0x23 7:0 sync filter window width this 8-bit register sets the window of time for the regenerated hsync leading edge (in 25 ns steps) and that sync pulses are allowed to pass through. therefore with the default value of 10, the window width is 250 ns. the goal is to set the window width so that extraneous pulses are rejected. (see the sync processing section). as in the sync separator threshold, the 25 ns multiplier value is somewhat variable. the maximum variability over all operating conditions is 20% (20 ns to 30 ns). detection status 0x24 7 hsync0 detection bit this bit is used to indicate when activity is detected on the hsync0 input pin. if hsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = hsync0 not active. 1 = hsync 0 is active. table 54. hsync0 detection results detect result 0 no activity detected 1 activity detected 0x24 6 hsync1 detection bit this bit is used to indicate when activity is detected on the hsync1 input pin. if hsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = hsync1 not active. 1 = hsync 1 is active. table 55. hsync1 detection results detect result 0 no activity detected 1 activity detected 0x24 5 vsync0 detection bit this bit is used to indicate when activity is detected on the vsync0 input pin. if vsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = vsync 0 not active. 1 = vsync 0 is active. table 56. vsync0 detection results detect result 0 no activity detected 1 activity detected 0x24 4 vsync1 detection bit this bit is used to indicate when activity is detected on the vsync1 input pin. if vsync is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = vsync 1 not active. 1 = vsync 1 is active. table 57. vsync1 detection results detect result 0 no activity detected 1 activity detected 0x24 3 sog0 detection bit this bit is used to indicate when activity is detected on the sog0 input pin. if sog is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = sog 0 not active. 1 = sog 0 is active. table 58. sog0 detection results detect result 0 no activity detected 1 activity detected 0x24 2 sog1 detection bit this bit is used to indicate when activity is detected on the sog1 input pin. if sog is held high or low, activity is not detected. the sync processing block diagram shows where this function is implemented. 0 = sog 1 not active. 1 = sog 1 is active. table 59. sog1 detection results detect result 0 no activity detected 1 activity detected 0x24 1 coast detection bit this bit detects activity on the extclk/extcoast pin. it indicates that one of the two signals is active, but it doesnt indicate which one. a dc signal is not detected. table 60. coast detection result detect result 0 no activity detected 1 activity detected 0x24 0 clamp detection bit this bit is used to indicate when activity is detected on the external clamp pin. if external clamp is held high or low, activity is not detected. table 61. clamp detection results detect result 0 no activity detected 1 activity detected
preliminary technical data ad9984 rev. prb | page 39 of 45 polarity status 0x25 7 hsync0 polarity indicates the polarity of hsync0 input. table 62. detected hsync0 polarity results detect result 0 hsync polarity is negative 1 hsync polarity is positive 0x25 6 hsync1 polarity indicates the polarity of hsync1 input. table 63. detected hsync1 polarity results detect result 0 hsync polarity is negative 1 hsync polarity is positive 0x25 5 vsync0 polarity indicates the polarity of vsync0 input. table 64. detected vsync0 polarity results detect result 0 vsync polarity is negative 1 vsync polarity is positive 0x25 4 vsync1 polarity indicates the polarity of vsync1 input. table 65. detected vsync1 polarity results detect result 0 vsync polarity is negative 1 vsync polarity is positive 0x25 3 coast polarity indicates the polarity of the external coast signal. table 66. detected coast polarity results detect result 0 coast polarity is negative 1 coast polarity is positive 0x25 2 clamp polarity indicates the polarity of the clamp signal. table 67. detected clamp polarity results detect result 0 clamp polarity is negative 1 clamp polarity is positive 0x25 1 extraneous pulses detection a second output from the hsync filter, this status bit tells whether extraneous pulses are present on the incoming sync signal. often extraneous pulses are used for copy protection, so this status bit can be used for this purpose. table 68. equalization pulse detect bit detect result 0 no equalization pulses detected during active hsync 1 equalization pulses dete cted during active hsync hsync count 0x26 7:0 hsyncs/vsync msb the eight msbs of the 12-bit counter that reports the number of hsyncs/vsync on the active input. this is useful for determining the mode and is an aid in setting the pll divide ratio. 0x27 7:4 hsyncs/vsync lsbs the four lsbs of the 12-bit counter that reports the number of hsyncs/vsync on the active input. test registers 0x28 7:0 test register 0 must be written to 0xbf for proper operation. 0x29 7:0 test register 1 must be written to 0x00 for proper operation. 0x2a 7:0 test register 2 read only bits for future use. 0x2b 7:0 test register 3 read only bits for future use. 0x2c 7:0 test register 4 must be written to 0x00 for proper operation. 0x2c 4 auto-offset hold a bit for controlling whether the auto-offset function runs continuously or runs once and holds the result. continuous updates are recommended because it allows the ad9984 to compensate for drift-over time, temperature, etc. if one-time updates are preferred, these should be performed every time the part is powered up and when there is a mode change. to do a one-time update, first auto-offset must be enabled (0x1b, bit 5). next, this bit (auto-offset hold) must first be set to 1 to let the auto-offset function operate and settle to a final value. auto-offset hold should then be set to 0 to hold the offset values that the auto circuitry calculates. the ad9984s auto-offset circuits maxi-mum settle time is 10 updates. for example, if the update frequency is set to once every 64 hsyncs, then the maximum settling time would be 640 hsyncs (10 64 hsyncs).
ad9984 preliminary technical data rev. prb | page 40 of 45 table 69. auto-offset hold select result 0 disables auto-offset updates and holds the current auto-offset values 1 allows auto-offset to update continuously 0x2c 3:0 must be written to 0x0 for proper operation. 0x2d 7:0 test register 5 read/write bits for future use. must be written to 0xe8 for proper operation. 0x2e 7:0 test register 6 read/write bits for future use. must be written to 0xe0 for proper operation. 0x3c 7:4 test bits must be set to 0x0 for proper operation. 0x3c 3 auto gain matching hold a bit for controlling whether the auto gain matching function runs continuously or runs once and holds the result. continuous updates are recommended because it allows the ad9984 to compensate for drift over time, temperature, etc. if one-time updates are preferred, these should be performed every time the part is powered up and when there is a mode change. to do a one-time update, first auto gain matching must be enabled (3ch, bit 2). next, this bit (auto gain matching hold) must first be set to 1 to let the auto gain matching function operate and settle to a final value. the auto gain matching hold bit should then be set to 0 to hold the gain values that the auto circuitry calculates. the ad9984s auto gain matching circuits maximum settle time is 10 updates. for example, if the update frequency is set to once every 64 hsyncs, then the maximum settling time would be 640 hsyncs (10 x 64 hsyncs). table 70. select result 0 disables auto gain updates and holds the current auto offset values. 1 allows auto gain to update continuously the power-up default setting is 0 0x3c 2:0 auto gain matching enable these bits enable or disable the auto gain matching function. when set to 000, the auto gain matching function is disabled; when set to 110 the auto gain matching function is enabled. table 71. select result 000 auto gain matching disabled 110 auto gain matching enabled.
preliminary technical data ad9984 rev. prb | page 41 of 45 two-wire serial control port a two-wire serial interface control interface is provided. up to two ad9984 devices may be connected to the two-wire serial interface, with each device having a unique address. the two-wire serial interface comprises a clock (scl) and a bi- directional data (sda) pin. the analog flat panel interface acts as a slave for receiving and transmitting data over the serial interface. when the serial interface is not active, the logic levels on scl and sda are pulled high by external pull-up resistors. data received or transmitted on the sda line must be stable for the duration of the positive-going scl pulse. data on sda must change only when scl is low. if sda changes state while scl is high, the serial interface interprets that action as a start or stop sequence. the following are the five components to serial bus operation: ? start signal ? slave address byte ? base register address byte ? data byte to read or write ? stop signal when the serial interface is inactive (scl and sda are high), communications are initiated by sending a start signal. the start signal is a high-to-low transiti on on sda while scl is high. this signal alerts all slaved devices that a data transfer sequence is coming. the first eight bits of data transferred after a start signal comprise a 7-bit slave address (the first seven bits) and a single r/w\ bit (the eighth bit). the r/w\ bit indicates the direction of data transfer, read from 1 or write to 0 on the slave device. if the transmitted slave address matches the address of the device (set by the state of the serial a0 address [sa0] input pin in table 70), the ad9984 acknowledges the match by bringing sda low on the 9th scl pulse. if the addresses do not match, the ad9984 does not acknowledge it. table 70. serial port addresses bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 a6 (msb) a5 a4 a3 a2 a1 a0 1 0 0 1 1 0 0 1 0 0 1 1 0 1 data transfer via serial interface for each byte of data read or written, the msb is the first bit in the sequence. if the ad9984 does not acknowledge the master device during a write sequence, the sda remains high so the master can gener- ate a stop signal. if the master device does not acknowledge the ad9984 during a read sequence, the ad9984 interprets this as end of data. the sda remains high so the master can generate a stop signal. writing data to specific control registers of the ad9984 requires that the 8-bit address of the control register of interest be writ- ten after the slave address has been established. this control register address is the base address for subsequent write opera- tions. the base address auto-increments by one for each byte of data written after the data byte intended for the base address. if more bytes are transferred than there are available addresses, the address will not increment and remain at its maximum value of 0x2e. any base address higher than 0x2e will not pro- duce an acknowledge signal. data are read from the control registers of the ad9984 in a similar manner. reading requires two data transfer operations: the base address must be written with the r/w bit of the slave address byte low to set up a sequential read operation. reading (the r/w\ bit of the slave address byte high) begins at the previously established base address. the address of the read register auto-increments after each byte is transferred. to terminate a read/write sequence to the ad9984, a stop signal must be sent. a stop signal comprises a low-to-high transition of sda while scl is high. a repeated start signal occurs when the master device driving the serial interface generates a start signal without first genera- ting a stop signal to terminate the current communication. this is used to change the mode of communication (read, write) between the slave and master without releasing the serial interface lines. sda scl t buff t stah t dho t dsu t dal t dah t stasu t stosu 04739-011 figure 17. serial port read/write timing
ad9984 preliminary technical data rev. prb | page 42 of 45 serial interface read/write examples write the following to one control register: ? start signal ? slave address byte (r/w\bit = low) ? base address byte ? data byte to base address ? stop signal write to four consecutive control registers: ? start signal ? slave address byte (r/w\bit = low) ? base address byte ? data byte to base address ? data byte to (base address + 1) ? data byte to (base address + 2) ? data byte to (base address + 3) ? stop signal read from one control register: ? start signal ? slave address byte (r/w\bit = low) ? base address byte ? start signal ? slave address byte (r/w\ bit = high) ? data byte from base address ? stop signal read from four consecutive control registers: ? start signal ? slave address byte (r/w\bit = low) ? base address byte ? start signal ? slave address byte (r/w\bit = high) ? data byte from base address ? data byte from (base address + 1) ? data byte from (base address + 2) ? data byte from (base address + 3) ? stop signal bit 7 ack bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 sda s cl 04739-012 figure 18. serial interfacetypical byte transfer i2c bus hardware considerations components that share the i2 c bus with the ad9984 may have strict 3.3v logic level requirements. due to the esd diode structure of the ad9984s sda and scl lines, the ad9984 will clamp the i2c lines to approximate ly 2.4v. in addition to the i2c lines, the same condition can be generated for the pwrdn, clamp and extclk/coast pins but these signals should not require level shifting. solution the circuit in figure provides isolation that allows the i2c bus to maintain 3.3v logic level s while allowing the ad9984 to operate at its preferred 1.8v logic level. the circuit is required for both the sda and scl. note that 3.3v is the 3.3-volt supply for the master i2c device and vd is the 1.8-volt analog supply of the ad9984. current densities on the pwrdn, clamp and extclk/coast pins can be handled by the esd diode structure. adding a 1k resistor in series with these pins is acceptable as a precautionary measure but not required. figure 19. i2c fet buffer.
preliminary technical data ad9984 rev. prb | page 43 of 45 pcb layout recommendations the ad9984 is a high-precision, high-speed analog device. to achieve the maximum performance from the part, it is impor-tant to have a well laid-out board. the analog interface inputs section provides a guide for designing a board using the ad9984. analog interface inputs using the following layout techniques on the graphics inputs is extremely important: 1. minimize the trace length running into the graphics inputs. this is accomplished by placing the ad9984 as close as possible to the graphics vga connector. long input trace lengths are undesirable because they pick up noise from the board and other external sources. 2. place the 75 termination resistors (see figure 3) as close as possible to the ad9984 chip. any additional trace length between the termination resistors and the input of the ad9984 increases the magnitude of reflections, which corrupts the graphics signal. 3. use 75 matched impedance traces. trace impedances other than 75 also increases the chance of reflections. 4. the ad9984 has a very high input bandwidth, (200 mhz). while this is desirable for acquiring a high resolution pc graphics signal with fast edges, it also means that it captures any high frequency noise present. therefore, it is important to reduce the amount of noise that gets coupled to the inputs. avoid running any digital traces near the analog inputs. 5. due to the high bandwidth of the ad9984, sometimes low-pass filtering the analog inputs can help to reduce noise. (for many applications, filtering is unnecessary.) experiments have shown that placing a ferrite bead in series prior to the 75 termination resistor is helpful in filtering excess noise. specifically, the fair-rite #2508051217z0 was used, but an application could work best with a different bead value. alternatively, placing a 100 to 120 resistor between the 75 termination resistor and the input coupling capacitor is beneficial. power supply bypassing it is recommended to bypass each power supply pin with a 0.1 f capacitor. the exception is where two or more supply pins are adjacent to each other. for these groupings of powers/grounds, it is only necessary to have one bypass capacitor. the fundamental idea is to have a bypass capacitor within about 0.5 cm of each power pin. also, avoid placing the capacitor on the opposite side of the pc board from the ad9984, since that interposes resistive vias in the path. the bypass capacitors should be physically located between the power plane and the power pin. current should flow from the power plane to the capacitor to the power pin. do not make the power connection between the capacitor and the power pin. placing a via underneath the capacitor pads, down to the power plane, is generally the best approach. it is particularly important to maintain low noise and good stability of the pv d (the clock generator supply). abrupt changes in pv d can result in similarly abrupt changes in sampling clock phase and frequency. this can be avoided by careful attention to regulation, filtering, and bypassing. it is highly desirable to provide separate regulated supplies for each of the analog circuitry groups (v d and pv d ). some graphic controllers use substantially different levels of power when active (during active picture time) and when idle (during horizontal and vertical sync periods). this can result in a measurable change in the voltage supplied to the analog supply regulator, which can in turn produce changes in the regulated analog supply voltage. this can be mitigated by regulating the analog supply, or at least pv d , from a different, cleaner, power source (for example, from a 12 v supply). it is also recommended to use a single ground plane for the entire board. experience has repeatedly shown that the noise performance is the same or better with a single ground plane. using multiple ground planes can be detrimental because each separate ground plane is smaller and long ground loops can result. in some cases, using separate ground planes is unavoidable. for those cases, it is recommended to at least place a single ground plane under the ad9984. the location of the split should be at the receiver of the digital outputs. in this case it is even more important to place components wisely because the current loops will be much longer, (current takes the path of least resistance). an example of a current loop is power plane to ad9984 to digital output trace to digital data receiver to digital ground plane to analog ground plane. pll place the pll loop filter components as close to the filt pin as possible. do not place any digital or other high frequency traces near these components. use the values suggested in the data- sheet with 10% tolerances or less. outputs (both data and clocks) try to minimize the trace length that the digital outputs have to drive. longer traces have higher capacitance and require more instantaneous current to drive, which creates more internal digital noise. shorter traces reduce the possibility of reflections.
ad9984 preliminary technical data rev. prb | page 44 of 45 adding a series resistor of value 50 to 200 can suppress reflections, reduce emi, and reduce the current spikes inside of the ad9984. if series resistors are used, place them as close to the ad9984 pins as possible, (although try not to add vias or extra length to the output trace to get the resistors closer). if possible, limit the capacitance that each digital output drives to less than 10 pf. this is easily accomplished by keeping traces short and by connecting the outputs to only one device. loading the outputs with excessive capacitance increases the current transients inside of the ad9984 and creates more digital noise on its power supplies. digital inputs digital inputs on the ad9984 (hsync0, hsync1, vsync0, vsync1, sogin0, sogin1, sda, scl and clamp) were designed to work with 3.3 v signals, but are tolerant of 5.0 v signals. therefore, no extra components need to be added if using 5.0 v logic. any noise that gets onto the hsync input trace adds jitter to the system. therefore, minimize the trace length and do not run any digital or other high frequency traces near it. reference bypass the ad9984 has three reference voltages that must be bypassed for proper operation of the input pga. reflo and refhi are connected to each other through a 10 f capacitor. these refer- ences are used by the input pga circuitry to assure the greatest stability. place them as close to the ad9984 pin as possible. make the ground connection as short as possible.
preliminary technical data ad9984 rev. prb | page 45 of 45 outline dimensions 1.45 1.40 1.35 0.15 0.05 61 60 1 80 20 41 21 40 top view (pins down) pin 1 seating plane view a 1.60 max 0.75 0.60 0.45 0.20 0.09 0.10 max coplanarity view a rotated 90 ccw seating plane 10 6 2 7 3.5 0 14.00 bsc sq 16.00 bsc sq 0.65 bsc 0.38 0.32 0.22 compliant to jedec standards ms-026-bec figure20. 80-lead low profile quad flat pack [lqfp] (st-80-2) dimensions shown in millimeters ordering guide model temperature range package description package ad9984kstz-110 0c to 70c lqfp st-80 AD9984KSTZ-140 0c to 70c lqfp st-80 ad9984kstz-170 0c to 70c lqfp st-80 ad9984/pcb 25c evaluation kit purchase of licensed i 2 c components of analog devices or one of its sublicensed associated companies conveys a license for the purchaser under the philips i 2 c patent rights to use these components in an i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips. ? 2005 analog devices, inc. all rights reserved. trademarks and registered trademarks are the property of their respective owners. pr05839-0-1/06(prb)


▲Up To Search▲   

 
Price & Availability of AD9984KSTZ-140

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X